depot/third_party/nixpkgs/pkgs/development/python-modules/pytz/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

37 lines
748 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "pytz";
version = "2024.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-KqNVCDxQoPk/pYFwnerAya1lzKip6b6sZgrcvUk8eYo=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [
"-s"
"pytz/tests"
];
pythonImportsCheck = [ "pytz" ];
meta = with lib; {
changelog = "https://launchpad.net/pytz/+announcements";
description = "World timezone definitions, modern and historical";
homepage = "https://pythonhosted.org/pytz";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}