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:
commit
60989dc971
1 changed files with 11 additions and 7 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue