2021-09-18 10:52:07 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, lib
|
|
|
|
|
|
|
|
# pythonPackages
|
2022-08-12 12:06:08 +00:00
|
|
|
, hatchling
|
2021-09-18 10:52:07 +00:00
|
|
|
, dnspython
|
2022-08-12 12:06:08 +00:00
|
|
|
, expiringdict
|
2021-09-18 10:52:07 +00:00
|
|
|
, html2text
|
|
|
|
, mail-parser
|
2021-12-06 16:07:01 +00:00
|
|
|
, imapclient
|
2022-08-12 12:06:08 +00:00
|
|
|
, publicsuffix2
|
2021-09-18 10:52:07 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mailsuite";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "1.9.15";
|
2022-08-12 12:06:08 +00:00
|
|
|
format = "pyproject";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-R4nAphydamZojQR7pro5Y3dZg3nYK0+X5lFBMJUpCfw=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
hatchling
|
|
|
|
];
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
dnspython
|
2022-08-12 12:06:08 +00:00
|
|
|
expiringdict
|
2021-09-18 10:52:07 +00:00
|
|
|
html2text
|
|
|
|
mail-parser
|
2021-12-06 16:07:01 +00:00
|
|
|
imapclient
|
2022-08-12 12:06:08 +00:00
|
|
|
publicsuffix2
|
2021-09-18 10:52:07 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "mailsuite" ];
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|