biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / tzdata / default.nix
blob198df9570b688a32b23209f845c5afc6a54ab916
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.1";
15   format = "pyproject";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-JnQSD42JGQl1HDirzf04asCloRJ5VPvDMq9rXOrgfv0=";
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   };