about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/mailsuite/default.nix
blob: 23167af45b0e53a4dd7e57c4ac7f17ce25ba0cd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ buildPythonPackage
, fetchPypi
, pythonOlder
, lib

# pythonPackages
, dnspython
, html2text
, mail-parser
, IMAPClient
}:

buildPythonPackage rec {
  pname = "mailsuite";
  version = "1.6.1";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "17bsnfjjzv8hx5h397p5pa92l6cqc53i0zjjz2p7bjj3xqzhs45a";
  };

  propagatedBuildInputs = [
    dnspython
    html2text
    mail-parser
    IMAPClient
  ];

  pythonImportsCheck = [ "mailsuite" ];

  meta = {
    description = "A Python package to simplify receiving, parsing, and sending email";
    homepage = "https://seanthegeek.github.io/mailsuite/";
    maintainers = with lib.maintainers; [ talyz ];
    license = lib.licenses.asl20;
  };
}