From: Ismaƫl Bouya Date: Tue, 4 Feb 2020 07:31:02 +0000 (+0100) Subject: Add milter to verify from X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix%2FNUR.git;a=commitdiff_plain;h=98161ecd1d7b7ef019737eac065431710157a607 Add milter to verify from --- diff --git a/overlays/python-packages/default.nix b/overlays/python-packages/default.nix index 8a9949e6..0feff55e 100644 --- a/overlays/python-packages/default.nix +++ b/overlays/python-packages/default.nix @@ -25,4 +25,5 @@ in apprise = fromMyPythonPackages "apprise"; buildbot = import ./buildbot.nix; wokkel = fromMyPythonPackages "wokkel"; + pymilter = fromMyPythonPackages "pymilter"; } diff --git a/pkgs/python-packages/default.nix b/pkgs/python-packages/default.nix index 747bbe62..2616d64b 100644 --- a/pkgs/python-packages/default.nix +++ b/pkgs/python-packages/default.nix @@ -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 index 00000000..736794e0 --- /dev/null +++ b/pkgs/python-packages/pymilter.nix @@ -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 ]; +}