blob: aadee81a829e15d3d984b73415c1a6966f249408 (
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
|
{ lib
, aiosmtpd
, buildPythonPackage
, fetchFromGitHub
, hypothesis
, poetry-core
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, trustme
}:
buildPythonPackage rec {
pname = "aiosmtplib";
version = "2.0.2";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "cole";
repo = pname;
rev = "v${version}";
hash = "sha256-Wo9WH3fwGN1upLAyj6aThxpQE7hortISjaCATTPee40=";
};
nativeBuildInputs = [
poetry-core
];
nativeCheckInputs = [
aiosmtpd
hypothesis
pytest-asyncio
pytestCheckHook
trustme
];
pythonImportsCheck = [
"aiosmtplib"
];
meta = with lib; {
description = "Module which provides a SMTP client";
homepage = "https://github.com/cole/aiosmtplib";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|