587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
54 lines
1 KiB
Nix
54 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 ];
|
|
};
|
|
}
|