blob: 7989a6016e1216a9bd8329f82a6b53699aa9568e (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pytest-subtests,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "tzdata";
version = "2025.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-tgpjj8wNr/rfgv4PV+U9Br3sLzbE32YoCuebzmvW8rk=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
pytest-subtests
];
pythonImportsCheck = [ "tzdata" ];
meta = {
description = "Provider of IANA time zone data";
homepage = "https://github.com/python/tzdata";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ mdaniels5757 ];
};
}
|