Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 22 lines 631 B view raw
1{ buildPythonPackage, fetchPypi, isPy27, lib 2, authres, dnspython, dkimpy, ipaddress, publicsuffix 3}: 4 5buildPythonPackage rec { 6 pname = "authheaders"; 7 version = "0.12.1"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "0hf1p6ws3jma608pmcb5qsl58xg33wz2s51qqzi9zix0llcnyc97"; 12 }; 13 14 propagatedBuildInputs = [ authres dnspython dkimpy publicsuffix ] 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}