blob: 8e69a942665f935f7ab96773f22178fa9be2997f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
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;
};
}
|