nixpkgs/pkgs/development/python-modules/pytz/default.nix
Mario Rodas 5113767cea
Merge pull request #211472 from dotlambda/pytz-2022.7.1
python310Packages.pytz: 2022.7 -> 2022.7.1
2023-01-31 06:08:24 -05:00

27 lines
628 B
Nix

{ lib, buildPythonPackage, fetchPypi, unittestCheckHook }:
buildPythonPackage rec {
pname = "pytz";
version = "2022.7.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-AaBoHEuWhKKDBGFeulXRqzGuAL9o7BV+w3CKgYLbvNA=";
};
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [ "-s" "pytz/tests" ];
pythonImportsCheck = [ "pytz" ];
meta = with lib; {
description = "World timezone definitions, modern and historical";
homepage = "https://pythonhosted.org/pytz";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}