0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

Merge pull request #153400 from fabaff/bump-tzdata

python3Packages.tzdata: 2021.1 -> 2021.5
This commit is contained in:
Fabian Affolter 2022-01-06 10:03:36 +01:00 committed by GitHub
commit 60989dc971
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,28 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytestCheckHook
, pytest-subtests
, importlib-resources
, pytest-subtests
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "tzdata";
version = "2021.1";
version = "2021.5";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-4ZxzUfiHUioaxznSEEHlkt3ebdG3ZP3vqPeys1UdPTg=";
hash = "sha256-aNvkGv0BuGeJS739VPoD9GjPpPAIa/tK3NjejyTz7iE=";
};
checkInputs = [
pytestCheckHook
pytest-subtests
] ++ lib.optional (pythonOlder "3.7") importlib-resources;
] ++ lib.optional (pythonOlder "3.7") [
importlib-resources
];
pythonImportsCheck = [ "tzdata" ];
pythonImportsCheck = [
"tzdata"
];
meta = with lib; {
description = "Provider of IANA time zone data";