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