1{ buildPythonPackage
2, fetchPypi
3, pythonOlder
4, lib
5
6# pythonPackages
7, dnspython
8, html2text
9, mail-parser
10, imapclient
11}:
12
13buildPythonPackage rec {
14 pname = "mailsuite";
15 version = "1.6.1";
16
17 disabled = pythonOlder "3.6";
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "17bsnfjjzv8hx5h397p5pa92l6cqc53i0zjjz2p7bjj3xqzhs45a";
22 };
23
24 propagatedBuildInputs = [
25 dnspython
26 html2text
27 mail-parser
28 imapclient
29 ];
30
31 pythonImportsCheck = [ "mailsuite" ];
32
33 meta = {
34 description = "A Python package to simplify receiving, parsing, and sending email";
35 homepage = "https://seanthegeek.github.io/mailsuite/";
36 maintainers = with lib.maintainers; [ talyz ];
37 license = lib.licenses.asl20;
38 };
39}