2019-12-16 18:14:29 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, isPy27, lib
|
2020-06-08 20:21:54 +01:00
|
|
|
, authres, dnspython, dkimpy, ipaddress, publicsuffix2
|
2019-12-16 18:14:29 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "authheaders";
|
2020-06-06 07:46:58 +01:00
|
|
|
version = "0.13.0";
|
2019-12-16 18:14:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:46:58 +01:00
|
|
|
sha256 = "935726b784cc636cbcfed2c977f1a6887dc60056806da4eff60db932c5896692";
|
2019-12-16 18:14:29 +00:00
|
|
|
};
|
|
|
|
|
2020-06-08 20:21:54 +01: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 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ValiMail/authentication-headers";
|
2019-12-16 18:14:29 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|