summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/kalauerbot/default.nix
blob: ee90fdeec554d381534f410d24d4e8543c34ff67 (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, 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 {
      matrix-client = (stdenv.lib.overrideDerivation matrix-client (self: {
      patches = [ ./badsync.patch ];
    }));
    })

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