blob: 7835d8a23d3e9dcc10b8a68cb79e7829f35446f9 (
plain)
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
|
{
lib,
aiosmtpd,
buildPythonPackage,
fetchFromGitHub,
hypothesis,
hatchling,
pytest-asyncio_0,
pytestCheckHook,
trustme,
}:
buildPythonPackage (finalAttrs: {
pname = "aiosmtplib";
version = "5.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "cole";
repo = "aiosmtplib";
tag = "v${finalAttrs.version}";
hash = "sha256-IAWMs4LBfVDMLxgPBnXrHQQ/8yhBYjvd4Fi4k0F19o0=";
};
build-system = [ hatchling ];
nativeCheckInputs = [
aiosmtpd
hypothesis
pytest-asyncio_0
pytestCheckHook
trustme
];
pythonImportsCheck = [ "aiosmtplib" ];
meta = {
description = "Module which provides a SMTP client";
homepage = "https://github.com/cole/aiosmtplib";
changelog = "https://github.com/cole/aiosmtplib/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})
|