depot/third_party/nixpkgs/pkgs/development/python-modules/mailsuite/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

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.5";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-bvS+sH10LkQkH/nAGuk/rvPjPhaR/rArIf9W9CWjFMY=";
};
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;
};
}