2021-09-18 10:52:07 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, lib
|
|
|
|
|
|
|
|
# pythonPackages
|
|
|
|
, dnspython
|
|
|
|
, html2text
|
|
|
|
, mail-parser
|
2021-12-06 16:07:01 +00:00
|
|
|
, imapclient
|
2021-09-18 10:52:07 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mailsuite";
|
|
|
|
version = "1.6.1";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "17bsnfjjzv8hx5h397p5pa92l6cqc53i0zjjz2p7bjj3xqzhs45a";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dnspython
|
|
|
|
html2text
|
|
|
|
mail-parser
|
2021-12-06 16:07:01 +00:00
|
|
|
imapclient
|
2021-09-18 10:52:07 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|