2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchFromGitHub,
|
|
|
|
setuptools,
|
|
|
|
setuptools-scm,
|
|
|
|
aiosmtpd,
|
|
|
|
jaraco-text,
|
|
|
|
jaraco-collections,
|
|
|
|
keyring,
|
|
|
|
pytestCheckHook,
|
2023-02-02 18:25:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco-email";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "3.1.1";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jaraco";
|
|
|
|
repo = "jaraco.email";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-2dU+tbrP86Oy8ej1Xa0+fNRB83tGBTUsOWbZyQsMKu8=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2024-04-21 15:54:59 +00:00
|
|
|
aiosmtpd
|
2023-08-04 22:07:22 +00:00
|
|
|
jaraco-text
|
|
|
|
jaraco-collections
|
2023-02-02 18:25:31 +00:00
|
|
|
keyring
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "jaraco.email" ];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|