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