mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
Merge pull request #153400 from fabaff/bump-tzdata
python3Packages.tzdata: 2021.1 -> 2021.5
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user