Files
nixpkgs/pkgs/development/python-modules/mailsuite/default.nix
T
2025-12-06 23:49:49 +01:00

50 lines
969 B
Nix

{
lib,
buildPythonPackage,
dnspython,
expiringdict,
fetchPypi,
hatchling,
html2text,
imapclient,
mail-parser,
publicsuffix2,
}:
buildPythonPackage rec {
pname = "mailsuite";
version = "1.10.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-+QPGSQQZaUjDmTGhZZoyTGegKV9DBqrgnxdQpEgszrI=";
};
pythonRelaxDeps = [ "mail-parser" ];
build-system = [ hatchling ];
dependencies = [
dnspython
expiringdict
html2text
mail-parser
imapclient
publicsuffix2
];
pythonImportsCheck = [ "mailsuite" ];
# Module has no tests
doCheck = false;
meta = {
description = "Python package to simplify receiving, parsing, and sending email";
homepage = "https://seanthegeek.github.io/mailsuite/";
changelog = "https://github.com/seanthegeek/mailsuite/blob/master/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ talyz ];
};
}