Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildPythonPackage, 3 fetchPypi, 4 pythonOlder, 5 lib, 6 7 # pythonPackages 8 hatchling, 9 dnspython, 10 expiringdict, 11 html2text, 12 mail-parser, 13 imapclient, 14 publicsuffix2, 15}: 16 17buildPythonPackage rec { 18 pname = "mailsuite"; 19 version = "1.9.15"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.6"; 23 24 src = fetchPypi { 25 inherit pname version; 26 hash = "sha256-R4nAphydamZojQR7pro5Y3dZg3nYK0+X5lFBMJUpCfw="; 27 }; 28 29 nativeBuildInputs = [ hatchling ]; 30 31 propagatedBuildInputs = [ 32 dnspython 33 expiringdict 34 html2text 35 mail-parser 36 imapclient 37 publicsuffix2 38 ]; 39 40 pythonImportsCheck = [ "mailsuite" ]; 41 42 doCheck = false; 43 44 meta = { 45 description = "Python package to simplify receiving, parsing, and sending email"; 46 homepage = "https://seanthegeek.github.io/mailsuite/"; 47 maintainers = with lib.maintainers; [ talyz ]; 48 license = lib.licenses.asl20; 49 }; 50}