stockholm/makefu/5pkgs/kalauerbot/default.nix

24 lines
630 B
Nix
Raw Normal View History

2021-12-04 20:24:48 +00:00
{ stdenv, lib, python3, fetchgit }:
2020-09-16 20:28:13 +00:00
python3.pkgs.buildPythonPackage rec {
name = "kalauerbot";
2021-03-20 11:51:32 +00:00
rev = "f244b35";
2020-09-16 20:28:13 +00:00
src = fetchgit {
url = "http://cgit.euer.krebsco.de/kalauerbot";
inherit rev;
2021-03-20 11:51:32 +00:00
sha256 = "08y4rlsil9p0726wlpkw2lpmkcnckaj3zqsifbj5w6rgivp6ly0v";
2020-09-16 20:28:13 +00:00
};
propagatedBuildInputs = with python3.pkgs;[
(callPackage ./python-matrixbot.nix {
2021-12-04 20:24:48 +00:00
matrix-client = (lib.overrideDerivation matrix-client (self: {
patches = [ ./badsync.patch ];
}));
})
2021-12-04 20:24:48 +00:00
(lib.overrideDerivation googletrans (self: {
2020-09-16 20:28:13 +00:00
patches = [ ./translate.patch ];
}))
];
checkInputs = [ python3.pkgs.black ];
}