summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyspf/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pyspf/default.nix')
-rw-r--r--pkgs/development/python-modules/pyspf/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyspf/default.nix b/pkgs/development/python-modules/pyspf/default.nix
new file mode 100644
index 000000000000..6903b6c7a0c0
--- /dev/null
+++ b/pkgs/development/python-modules/pyspf/default.nix
@@ -0,0 +1,20 @@
+{ lib, buildPythonPackage, fetchurl, pydns }:
+
+buildPythonPackage rec {
+  name = "pyspf-${version}";
+  version = "2.0.12";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/pymilter/pyspf/${name}/${name}.tar.gz";
+    sha256 = "18j1rmbmhih7q6y12grcj169q7sx1986qn4gmpla9y5gwfh1p8la";
+  };
+
+  propagatedBuildInputs = [ pydns ];
+
+  meta = with lib; {
+    homepage = http://bmsi.com/python/milter.html;
+    description = "Python API for Sendmail Milters (SPF)";
+    maintainers = with maintainers; [ abbradar ];
+    license = licenses.gpl2;
+  };
+}