b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
51 lines
898 B
Nix
51 lines
898 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, lib
|
|
|
|
# pythonPackages
|
|
, hatchling
|
|
, dnspython
|
|
, expiringdict
|
|
, html2text
|
|
, mail-parser
|
|
, imapclient
|
|
, publicsuffix2
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mailsuite";
|
|
version = "1.9.7";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-d96r712suiL4dSzT5vG/rD+4PInlvpuoAo3cedqVe+w=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|