depot/third_party/nixpkgs/pkgs/development/python-modules/mailsuite/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

50 lines
908 B
Nix

{
buildPythonPackage,
fetchPypi,
pythonOlder,
lib,
# pythonPackages
hatchling,
dnspython,
expiringdict,
html2text,
mail-parser,
imapclient,
publicsuffix2,
}:
buildPythonPackage rec {
pname = "mailsuite";
version = "1.9.15";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-R4nAphydamZojQR7pro5Y3dZg3nYK0+X5lFBMJUpCfw=";
};
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [
dnspython
expiringdict
html2text
mail-parser
imapclient
publicsuffix2
];
pythonImportsCheck = [ "mailsuite" ];
doCheck = false;
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;
};
}