summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/kalauerbot/python-matrixbot.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-09-16 22:28:13 +0200
committermakefu <github@syntax-fehler.de>2020-09-16 22:28:13 +0200
commit3a93c400a3f8e58a4d10ae743fbdbada216d8641 (patch)
tree293aecc1c396d19c96599a8103878425c474b9c4 /makefu/5pkgs/kalauerbot/python-matrixbot.nix
parentce41b987239abbac0f817a9ae1f7019ad9f4035a (diff)
ma pkgs.kalauerbot: init
Diffstat (limited to 'makefu/5pkgs/kalauerbot/python-matrixbot.nix')
-rw-r--r--makefu/5pkgs/kalauerbot/python-matrixbot.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/makefu/5pkgs/kalauerbot/python-matrixbot.nix b/makefu/5pkgs/kalauerbot/python-matrixbot.nix
new file mode 100644
index 000000000..7bc5aa7f3
--- /dev/null
+++ b/makefu/5pkgs/kalauerbot/python-matrixbot.nix
@@ -0,0 +1,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. ];
+ };
+}