Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage, fetchPypi, isPy27, lib 2, authres, dnspython, dkimpy, ipaddress, publicsuffix2 3}: 4 5buildPythonPackage rec { 6 pname = "authheaders"; 7 version = "0.13.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "935726b784cc636cbcfed2c977f1a6887dc60056806da4eff60db932c5896692"; 12 }; 13 14 propagatedBuildInputs = [ authres dnspython dkimpy publicsuffix2 ] 15 ++ lib.optional isPy27 ipaddress; 16 17 meta = { 18 description = "Python library for the generation of email authentication headers"; 19 homepage = "https://github.com/ValiMail/authentication-headers"; 20 license = lib.licenses.mit; 21 }; 22}