python.pkgs.pyspf: move to a separate file
This commit is contained in:
parent
22c37db7f2
commit
674c3d20fc
20
pkgs/development/python-modules/pyspf/default.nix
Normal file
20
pkgs/development/python-modules/pyspf/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
@ -6278,25 +6278,7 @@ in {
|
|||||||
|
|
||||||
pyroute2 = callPackage ../development/python-modules/pyroute2 { };
|
pyroute2 = callPackage ../development/python-modules/pyroute2 { };
|
||||||
|
|
||||||
pyspf = buildPythonPackage rec {
|
pyspf = callPackage ../development/python-modules/pyspf { };
|
||||||
name = "pyspf-${version}";
|
|
||||||
version = "2.0.12";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://sourceforge/pymilter/pyspf/${name}/${name}.tar.gz";
|
|
||||||
sha256 = "18j1rmbmhih7q6y12grcj169q7sx1986qn4gmpla9y5gwfh1p8la";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ pydns ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "http://bmsi.com/python/milter.html";
|
|
||||||
description = "Python API for Sendmail Milters (SPF)";
|
|
||||||
maintainers = with maintainers; [ abbradar ];
|
|
||||||
license = licenses.gpl2;
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pysrt = callPackage ../development/python-modules/pysrt { };
|
pysrt = callPackage ../development/python-modules/pysrt { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user