2019-12-16 18:14:29 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, isPy27, lib
|
2020-06-08 19:21:54 +00:00
|
|
|
, authres, dnspython, dkimpy, ipaddress, publicsuffix2
|
2019-12-16 18:14:29 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "authheaders";
|
2022-04-22 13:17:22 +00:00
|
|
|
version = "0.15.1";
|
2019-12-16 18:14:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-04-22 13:17:22 +00:00
|
|
|
sha256 = "sha256-90rOvu+CbHtammrMDZpPx7rIboIT2X/jL1GtfjpmuOk=";
|
2019-12-16 18:14:29 +00:00
|
|
|
};
|
|
|
|
|
2020-06-08 19:21:54 +00:00
|
|
|
propagatedBuildInputs = [ authres dnspython dkimpy publicsuffix2 ]
|
2019-12-16 18:14:29 +00:00
|
|
|
++ lib.optional isPy27 ipaddress;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python library for the generation of email authentication headers";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/ValiMail/authentication-headers";
|
2019-12-16 18:14:29 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|