blob: d85337e2deef8ffea7830ac8fb531cb895ec696d (
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 rec {
pname = "aiosmtplib";
version = "5.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "cole";
repo = "aiosmtplib";
tag = "v${version}";
hash = "sha256-ICG7yVH2UcvQAsVGbxu7LibWUj/NEPV/f5iDc25XuzU=";
};
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${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|