summaryrefslogtreecommitdiffstats
path: root/nix/python-matrixbot.nix
blob: 7bc5aa7f318df2e8d71c9cc4a544c143e2fc28e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, buildPythonPackage
, fetchPypi
, markdown
, matrix-client
}:

buildPythonPackage rec {
  pname = "python-matrixbot";
  version = "0.0.7";
  CI_COMMIT_TAG = version;

  #src = ./python-matrixbot;
  src = fetchPypi {
    inherit pname version;
    sha256 = "9412981b14ff3ab7ffbb1bfc1691758113ab8d71f731b3093d8808c286b69c71";
  };
  patches = [ ./matrixbot.patch ];

  propagatedBuildInputs = [
    markdown
    matrix-client
  ];

  meta = with lib; {
    description = "A basic bot for Matrix";
    homepage = https://gitlab.com/gibberfish/python-matrixbot;
    license = licenses.mit;
    # maintainers = [ maintainers. ];
  };
}