5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
31 lines
645 B
Nix
31 lines
645 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pydns,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyspf";
|
|
version = "2.0.14";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sdgathman";
|
|
repo = pname;
|
|
rev = "pyspf-${version}";
|
|
sha256 = "0bmimlmwrq9glnjc4i6pwch30n3y5wyqmkjfyayxqxkfrixqwydi";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pydns ];
|
|
|
|
# requires /etc/resolv.conf to exist
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "http://bmsi.com/python/milter.html";
|
|
description = "Python API for Sendmail Milters (SPF)";
|
|
maintainers = with maintainers; [ abbradar ];
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|