stockholm/makefu/5pkgs/kalauerbot/default.nix
2020-09-16 22:28:13 +02:00

19 lines
510 B
Nix

{ stdenv, python3, fetchgit }:
python3.pkgs.buildPythonPackage rec {
name = "kalauerbot";
rev = "08d98aa";
src = fetchgit {
url = "http://cgit.euer.krebsco.de/kalauerbot";
inherit rev;
sha256 = "017hh61smgq4zsxd10brgwmykwgwabgllxjs31xayvs1hnqmkv2v";
};
propagatedBuildInputs = with python3.pkgs;[
(callPackage ./python-matrixbot.nix {})
(stdenv.lib.overrideDerivation googletrans (self: {
patches = [ ./translate.patch ];
}))
];
checkInputs = [ python3.pkgs.black ];
}