pypolicyd-spf: move to all-packages
It's not a library.
This commit is contained in:
parent
c336e5c872
commit
370f5b4c57
26
pkgs/servers/mail/pypolicyd-spf/default.nix
Normal file
26
pkgs/servers/mail/pypolicyd-spf/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ lib, buildPythonApplication, fetchurl, pyspf }:
|
||||||
|
|
||||||
|
buildPythonApplication rec {
|
||||||
|
name = "pypolicyd-spf-${version}";
|
||||||
|
majorVersion = "2.0";
|
||||||
|
version = "${majorVersion}.2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://launchpad.net/pypolicyd-spf/${majorVersion}/${version}/+download/${name}.tar.gz";
|
||||||
|
sha256 = "1nm8y1jjgx6mxrbcxrbdnmkf8vglwp0wiw6jipzh641wb24gi76z";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ pyspf ];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
substituteInPlace setup.py --replace "'/etc'" "'$out/etc'"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = https://launchpad.net/pypolicyd-spf/;
|
||||||
|
description = "Postfix policy engine for Sender Policy Framework (SPF) checking";
|
||||||
|
maintainers = with maintainers; [ abbradar ];
|
||||||
|
license = licenses.asl20;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -12513,6 +12513,8 @@ with pkgs;
|
|||||||
|
|
||||||
pyMAILt = callPackage ../servers/xmpp/pyMAILt {};
|
pyMAILt = callPackage ../servers/xmpp/pyMAILt {};
|
||||||
|
|
||||||
|
pypolicyd-spf = python3.pkgs.callPackage ../servers/mail/pypolicyd-spf { };
|
||||||
|
|
||||||
qpid-cpp = callPackage ../servers/amqp/qpid-cpp {
|
qpid-cpp = callPackage ../servers/amqp/qpid-cpp {
|
||||||
boost = boost155;
|
boost = boost155;
|
||||||
};
|
};
|
||||||
|
@ -6168,32 +6168,6 @@ in {
|
|||||||
|
|
||||||
pythonix = toPythonModule (callPackage ../development/python-modules/pythonix { });
|
pythonix = toPythonModule (callPackage ../development/python-modules/pythonix { });
|
||||||
|
|
||||||
pypolicyd-spf = buildPythonPackage rec {
|
|
||||||
name = "pypolicyd-spf-${version}";
|
|
||||||
majorVersion = "2.0";
|
|
||||||
version = "${majorVersion}.1";
|
|
||||||
disabled = !isPy3k;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "https://launchpad.net/pypolicyd-spf/${majorVersion}/${version}/+download/${name}.tar.gz";
|
|
||||||
sha256 = "09yi8y7pij5vzzrkc9sdw01x8w5n758d0qg7wv5hxd1l6if8c94i";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ pyspf ];
|
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
substituteInPlace setup.py --replace "'/etc'" "'$out/etc'"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "https://launchpad.net/pypolicyd-spf/";
|
|
||||||
description = "Postfix policy engine for Sender Policy Framework (SPF) checking";
|
|
||||||
maintainers = with maintainers; [ abbradar ];
|
|
||||||
license = licenses.asl20;
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pyramid = buildPythonPackage rec {
|
pyramid = buildPythonPackage rec {
|
||||||
pname = "pyramid";
|
pname = "pyramid";
|
||||||
version = "1.9.1";
|
version = "1.9.1";
|
||||||
|
Loading…
Reference in New Issue
Block a user