Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 54 lines 952 B view raw
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.18"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.6"; 23 24 src = fetchPypi { 25 inherit pname version; 26 hash = "sha256-3rK5PgcAOKVvZbFT7PaZX9lhU8yKpPQozvh2F8mTkfA="; 27 }; 28 29 nativeBuildInputs = [ hatchling ]; 30 31 pythonRelaxDeps = [ 32 "mail-parser" 33 ]; 34 35 propagatedBuildInputs = [ 36 dnspython 37 expiringdict 38 html2text 39 mail-parser 40 imapclient 41 publicsuffix2 42 ]; 43 44 pythonImportsCheck = [ "mailsuite" ]; 45 46 doCheck = false; 47 48 meta = { 49 description = "Python package to simplify receiving, parsing, and sending email"; 50 homepage = "https://seanthegeek.github.io/mailsuite/"; 51 maintainers = with lib.maintainers; [ talyz ]; 52 license = lib.licenses.asl20; 53 }; 54}