]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add matrix webhooks
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 23 Dec 2021 12:57:33 +0000 (13:57 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 9 Apr 2023 15:16:13 +0000 (17:16 +0200)
overlays/python-packages/default.nix
pkgs/python-packages/default.nix
pkgs/python-packages/matrix-webhook.nix [new file with mode: 0644]

index 601eed1297bc9770f14da37ccde2de96c66167e8..ddd4b7d8ada881fc11bda5d5dabb557745f57062 100644 (file)
@@ -26,4 +26,5 @@ in
   buildbot = import ./buildbot.nix;
   wokkel = fromMyPythonPackages "wokkel";
   pymilter = fromMyPythonPackages "pymilter";
+  matrix-webhook = fromMyPythonPackages "matrix-webhook";
 }
index 441c5bc05f7e8e9c7892163662705b246da0c551..2ba2126a5ed57f4b1fbf695732af8b513ee46f72 100644 (file)
@@ -4,4 +4,5 @@
   buildbot-plugins = callPackage ./buildbot/plugins { inherit python; };
   wokkel = callPackage ./wokkel.nix { pythonPackages = python.pkgs; };
   pymilter = callPackage ./pymilter.nix { pythonPackages = python.pkgs; };
+  matrix-webhook = callPackage ./matrix-webhook.nix { pythonPackages = python.pkgs; };
 }
diff --git a/pkgs/python-packages/matrix-webhook.nix b/pkgs/python-packages/matrix-webhook.nix
new file mode 100644 (file)
index 0000000..bccff09
--- /dev/null
@@ -0,0 +1,10 @@
+{ pythonPackages }: with pythonPackages;
+buildPythonPackage rec {
+  pname = "matrix-webhook";
+  version = "3.2.1";
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1wnf2nbivlpy9j286ngg0f3i9nnwvcmr4g0vsbzfvxbnyynmchk5";
+  };
+  buildInputs = [ markdown matrix-nio ];
+}