Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 799 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, python }: 2 3buildPythonPackage rec { 4 pname = "authres"; 5 version = "1.1.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0bxclx021zn4hhrpaw5fl61bhnf17yqjd0pvwxqfqwdkxdjpx37b"; 10 }; 11 12 checkPhase = '' 13 # run doctests 14 ${python.interpreter} -m authres 15 ''; 16 17 meta = with stdenv.lib; { 18 description = "Email Authentication-Results Headers generation and parsing for Python/Python3"; 19 longDescription = '' 20 Python module that implements various internet RFC's: 5451/7001/7601 21 Authentication-Results Headers generation and parsing for 22 Python/Python3. 23 ''; 24 homepage = https://launchpad.net/authentication-results-python; 25 license = licenses.bsd3; 26 maintainers = with maintainers; [ leenaars ]; 27 }; 28}