summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/kalauerbot/default.nix
blob: 42de86d50f0c61936b69db201f9ad14075becf3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, lib, python3, fetchgit }:
python3.pkgs.buildPythonPackage rec {
name = "kalauerbot";
rev = "f244b35";
  src = fetchgit {
    url = "http://cgit.euer.krebsco.de/kalauerbot";
    inherit rev;
    sha256 = "08y4rlsil9p0726wlpkw2lpmkcnckaj3zqsifbj5w6rgivp6ly0v";
  };
  propagatedBuildInputs = with python3.pkgs;[
     (callPackage ./python-matrixbot.nix {
      matrix-client = (lib.overrideDerivation matrix-client (self: {
      patches = [ ./badsync.patch ];
    }));
    })

    (lib.overrideDerivation googletrans (self: {
      patches = [ ./translate.patch ];
    }))
  ];
  checkInputs = [ python3.pkgs.black ];
}