Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 33 lines 629 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "tzdata"; 11 version = "2025.3"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-3jnCyl3HsDRPLrqG9J1hQBnSnwYPxOvIpBeJamILVqc="; 17 }; 18 19 nativeBuildInputs = [ setuptools ]; 20 21 nativeCheckInputs = [ 22 pytestCheckHook 23 ]; 24 25 pythonImportsCheck = [ "tzdata" ]; 26 27 meta = { 28 description = "Provider of IANA time zone data"; 29 homepage = "https://github.com/python/tzdata"; 30 license = lib.licenses.asl20; 31 maintainers = with lib.maintainers; [ mdaniels5757 ]; 32 }; 33}