diff options
Diffstat (limited to 'pkgs/development/python-modules/tzdata/default.nix')
-rw-r--r-- | pkgs/development/python-modules/tzdata/default.nix | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/pkgs/development/python-modules/tzdata/default.nix b/pkgs/development/python-modules/tzdata/default.nix index ac25b071a31b..7ef57e00a0e8 100644 --- a/pkgs/development/python-modules/tzdata/default.nix +++ b/pkgs/development/python-modules/tzdata/default.nix @@ -1,42 +1,37 @@ -{ lib -, buildPythonPackage -, fetchPypi -, importlib-resources -, pytest-subtests -, pytestCheckHook -, pythonOlder -, setuptools +{ + lib, + buildPythonPackage, + fetchPypi, + importlib-resources, + pytest-subtests, + pytestCheckHook, + pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "tzdata"; - version = "2024.1"; + version = "2024.2"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-JnQSD42JGQl1HDirzf04asCloRJ5VPvDMq9rXOrgfv0="; + hash = "sha256-fYXMQW6TguaQlbe99K/Z44gEGKJBP+7HBp1TPWtOMcw="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook pytest-subtests - ] ++ lib.optionals (pythonOlder "3.7") [ - importlib-resources - ]; + ] ++ lib.optionals (pythonOlder "3.7") [ importlib-resources ]; - pythonImportsCheck = [ - "tzdata" - ]; + pythonImportsCheck = [ "tzdata" ]; meta = with lib; { description = "Provider of IANA time zone data"; homepage = "https://github.com/python/tzdata"; license = licenses.asl20; - maintainers = with maintainers; [ ]; + maintainers = [ ]; }; } |