nixpkgs/pkgs/development/python-modules/tzdata/default.nix
Martin Weinelt e11f6b4260 python3Packages.pytest-subtests: drop
The plugin's functionaltiy is now part of pytest 9 and the the plugin
itself has been archived.
2026-02-01 16:40:29 +01:00

33 lines
629 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "tzdata";
version = "2025.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-3jnCyl3HsDRPLrqG9J1hQBnSnwYPxOvIpBeJamILVqc=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "tzdata" ];
meta = {
description = "Provider of IANA time zone data";
homepage = "https://github.com/python/tzdata";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ mdaniels5757 ];
};
}