1{ lib 2, authres 3, buildPythonPackage 4, dkimpy 5, dnspython 6, fetchFromGitHub 7, publicsuffix2 8, pythonOlder 9, pytestCheckHook 10, setuptools 11}: 12 13buildPythonPackage rec { 14 pname = "authheaders"; 15 version = "0.15.3"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "ValiMail"; 22 repo = "authentication-headers"; 23 rev = "refs/tags/${version}"; 24 hash = "sha256-96fCx5uN7yegTrCN+LSjtu4u3RL+dcxV/Puyo0eziI8="; 25 }; 26 27 propagatedBuildInputs = [ 28 authres 29 dnspython 30 dkimpy 31 publicsuffix2 32 setuptools 33 ]; 34 35 nativeCheckInputs = [ 36 pytestCheckHook 37 ]; 38 39 pythonImportsCheck = [ 40 "authheaders" 41 ]; 42 43 meta = with lib; { 44 description = "Python library for the generation of email authentication headers"; 45 homepage = "https://github.com/ValiMail/authentication-headers"; 46 changelog = "https://github.com/ValiMail/authentication-headers/blob${version}/CHANGES"; 47 license = licenses.mit; 48 maintainers = with maintainers; [ ]; 49 }; 50}