ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / development / python-modules / tzdata / default.nix
blob7ef57e00a0e80dfc9ec438c2c9306773f2ac284c
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   importlib-resources,
6   pytest-subtests,
7   pytestCheckHook,
8   pythonOlder,
9   setuptools,
12 buildPythonPackage rec {
13   pname = "tzdata";
14   version = "2024.2";
15   format = "pyproject";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-fYXMQW6TguaQlbe99K/Z44gEGKJBP+7HBp1TPWtOMcw=";
20   };
22   nativeBuildInputs = [ setuptools ];
24   nativeCheckInputs = [
25     pytestCheckHook
26     pytest-subtests
27   ] ++ lib.optionals (pythonOlder "3.7") [ importlib-resources ];
29   pythonImportsCheck = [ "tzdata" ];
31   meta = with lib; {
32     description = "Provider of IANA time zone data";
33     homepage = "https://github.com/python/tzdata";
34     license = licenses.asl20;
35     maintainers = [ ];
36   };