Merge pull request #153400 from fabaff/bump-tzdata

python3Packages.tzdata: 2021.1 -> 2021.5

authored by

Fabian Affolter and committed by
GitHub
60989dc9 8609187e

+11 -7
+11 -7
pkgs/development/python-modules/tzdata/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , pythonOlder 5 - , pytestCheckHook 6 - , pytest-subtests 7 - , importlib-resources 8 }: 9 10 buildPythonPackage rec { 11 pname = "tzdata"; 12 - version = "2021.1"; 13 format = "pyproject"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - sha256 = "sha256-4ZxzUfiHUioaxznSEEHlkt3ebdG3ZP3vqPeys1UdPTg="; 18 }; 19 20 checkInputs = [ 21 pytestCheckHook 22 pytest-subtests 23 - ] ++ lib.optional (pythonOlder "3.7") importlib-resources; 24 25 - pythonImportsCheck = [ "tzdata" ]; 26 27 meta = with lib; { 28 description = "Provider of IANA time zone data";
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , importlib-resources 5 + , pytest-subtests 6 + , pytestCheckHook 7 , pythonOlder 8 }: 9 10 buildPythonPackage rec { 11 pname = "tzdata"; 12 + version = "2021.5"; 13 format = "pyproject"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + hash = "sha256-aNvkGv0BuGeJS739VPoD9GjPpPAIa/tK3NjejyTz7iE="; 18 }; 19 20 checkInputs = [ 21 pytestCheckHook 22 pytest-subtests 23 + ] ++ lib.optional (pythonOlder "3.7") [ 24 + importlib-resources 25 + ]; 26 27 + pythonImportsCheck = [ 28 + "tzdata" 29 + ]; 30 31 meta = with lib; { 32 description = "Provider of IANA time zone data";