Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / mailsuite / default.nix
blob0069defa4b89052c8c0beb1170c86b0d34ceb265
1 { buildPythonPackage
2 , fetchPypi
3 , pythonOlder
4 , lib
6 # pythonPackages
7 , hatchling
8 , dnspython
9 , expiringdict
10 , html2text
11 , mail-parser
12 , imapclient
13 , publicsuffix2
16 buildPythonPackage rec {
17   pname = "mailsuite";
18   version = "1.9.15";
19   format = "pyproject";
21   disabled = pythonOlder "3.6";
23   src = fetchPypi {
24     inherit pname version;
25     hash = "sha256-R4nAphydamZojQR7pro5Y3dZg3nYK0+X5lFBMJUpCfw=";
26   };
28   nativeBuildInputs = [
29     hatchling
30   ];
32   propagatedBuildInputs = [
33     dnspython
34     expiringdict
35     html2text
36     mail-parser
37     imapclient
38     publicsuffix2
39   ];
41   pythonImportsCheck = [ "mailsuite" ];
43   doCheck = false;
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   };