blob: c7b6575c485c141a55d775f7d1b4986125a427c1 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
tzdata,
}:
buildPythonPackage rec {
pname = "aiozoneinfo";
version = "0.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "bluetooth-devices";
repo = "aiozoneinfo";
tag = "v${version}";
hash = "sha256-7qd6Yk/K4BLocu8eQK0hLaw2r1jhWIHBr9W4KsAvmx8=";
};
build-system = [ poetry-core ];
dependencies = [ tzdata ];
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "aiozoneinfo" ];
meta = {
description = "Tools to fetch zoneinfo with asyncio";
homepage = "https://github.com/bluetooth-devices/aiozoneinfo";
changelog = "https://github.com/bluetooth-devices/aiozoneinfo/blob/${version}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
|