at master 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 dnspython, 5 expiringdict, 6 fetchPypi, 7 hatchling, 8 html2text, 9 imapclient, 10 mail-parser, 11 publicsuffix2, 12 pythonOlder, 13}: 14 15buildPythonPackage rec { 16 pname = "mailsuite"; 17 version = "1.10.0"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.8"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-xYM4/Ou91WtYwiobE9ihlYGu8ViNTVbSLFGi8Y9yPc4="; 25 }; 26 27 pythonRelaxDeps = [ "mail-parser" ]; 28 29 build-system = [ hatchling ]; 30 31 dependencies = [ 32 dnspython 33 expiringdict 34 html2text 35 mail-parser 36 imapclient 37 publicsuffix2 38 ]; 39 40 pythonImportsCheck = [ "mailsuite" ]; 41 42 # Module has no tests 43 doCheck = false; 44 45 meta = { 46 description = "Python package to simplify receiving, parsing, and sending email"; 47 homepage = "https://seanthegeek.github.io/mailsuite/"; 48 changelog = "https://github.com/seanthegeek/mailsuite/blob/master/CHANGELOG.md"; 49 license = lib.licenses.asl20; 50 maintainers = with lib.maintainers; [ talyz ]; 51 }; 52}