blob: b6ff349a533b7260e65a983c3801deac5af99bac (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{ 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 ];
};
}
|