diff options
author | makefu <github@syntax-fehler.de> | 2020-09-16 22:28:13 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-09-16 22:28:13 +0200 |
commit | 3a93c400a3f8e58a4d10ae743fbdbada216d8641 (patch) | |
tree | 293aecc1c396d19c96599a8103878425c474b9c4 /makefu/5pkgs/kalauerbot/default.nix | |
parent | ce41b987239abbac0f817a9ae1f7019ad9f4035a (diff) |
ma pkgs.kalauerbot: init
Diffstat (limited to 'makefu/5pkgs/kalauerbot/default.nix')
-rw-r--r-- | makefu/5pkgs/kalauerbot/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/makefu/5pkgs/kalauerbot/default.nix b/makefu/5pkgs/kalauerbot/default.nix new file mode 100644 index 000000000..2cecbc3f2 --- /dev/null +++ b/makefu/5pkgs/kalauerbot/default.nix @@ -0,0 +1,18 @@ +{ 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 ]; +} + |