]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/commitdiff
Add milter to verify from
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Tue, 4 Feb 2020 07:31:02 +0000 (08:31 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 24 Apr 2020 22:04:45 +0000 (00:04 +0200)
overlays/python-packages/default.nix
pkgs/python-packages/default.nix
pkgs/python-packages/pymilter.nix [new file with mode: 0644]

index 8a9949e6cbeb0110e7410bbc3c4aa6230df00482..0feff55eea2b5ea220cb135cd1e134a713f0fcca 100644 (file)
@@ -25,4 +25,5 @@ in
   apprise = fromMyPythonPackages "apprise";
   buildbot = import ./buildbot.nix;
   wokkel = fromMyPythonPackages "wokkel";
+  pymilter = fromMyPythonPackages "pymilter";
 }
index 747bbe6201363cdb41377b1d9c05ca2ea91428ae..2616d64b6d82fc12ed43179f49a407455705226b 100644 (file)
@@ -3,4 +3,5 @@
   apprise = callPackage ./apprise { inherit mylibs; pythonPackages = python.pkgs; };
   buildbot-plugins = callPackage ./buildbot/plugins { inherit mylibs python; };
   wokkel = callPackage ./wokkel.nix { pythonPackages = python.pkgs; };
+  pymilter = callPackage ./pymilter.nix { pythonPackages = python.pkgs; };
 }
diff --git a/pkgs/python-packages/pymilter.nix b/pkgs/python-packages/pymilter.nix
new file mode 100644 (file)
index 0000000..736794e
--- /dev/null
@@ -0,0 +1,11 @@
+{ pythonPackages, libmilter }: with pythonPackages;
+buildPythonPackage rec {
+  pname = "pymilter";
+  version = "1.0.4";
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1bpcvq7d72q0zi7c8h5knhasywwz9gxc23n9fxmw874n5k8hsn7k";
+  };
+  doCheck = false;
+  buildInputs = [ libmilter ];
+}