nixpkgs/pkgs/development/python-modules/mailsuite/default.nix
2024-11-21 17:12:34 +01:00

55 lines
952 B
Nix

{
buildPythonPackage,
fetchPypi,
pythonOlder,
lib,
# pythonPackages
hatchling,
dnspython,
expiringdict,
html2text,
mail-parser,
imapclient,
publicsuffix2,
}:
buildPythonPackage rec {
pname = "mailsuite";
version = "1.9.18";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-3rK5PgcAOKVvZbFT7PaZX9lhU8yKpPQozvh2F8mTkfA=";
};
nativeBuildInputs = [ hatchling ];
pythonRelaxDeps = [
"mail-parser"
];
propagatedBuildInputs = [
dnspython
expiringdict
html2text
mail-parser
imapclient
publicsuffix2
];
pythonImportsCheck = [ "mailsuite" ];
doCheck = false;
meta = {
description = "Python package to simplify receiving, parsing, and sending email";
homepage = "https://seanthegeek.github.io/mailsuite/";
maintainers = with lib.maintainers; [ talyz ];
license = lib.licenses.asl20;
};
}