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

53 lines
1 KiB
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools,
setuptools-scm,
aiosmtpd,
jaraco-text,
jaraco-collections,
keyring,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jaraco-email";
version = "3.1.1";
disabled = pythonOlder "3.7";
format = "pyproject";
src = fetchFromGitHub {
owner = "jaraco";
repo = "jaraco.email";
rev = "refs/tags/v${version}";
hash = "sha256-2dU+tbrP86Oy8ej1Xa0+fNRB83tGBTUsOWbZyQsMKu8=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
aiosmtpd
jaraco-text
jaraco-collections
keyring
];
pythonImportsCheck = [ "jaraco.email" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/jaraco/jaraco.email/blob/${src.rev}/CHANGES.rst";
description = "E-mail facilities by jaraco";
homepage = "https://github.com/jaraco/jaraco.email";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}