Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pytz / default.nix
blob8d4bcfbb3c6f78f9a60f90982502ad91736322b8
1 { lib, buildPythonPackage, fetchPypi, unittestCheckHook }:
3 buildPythonPackage rec {
4   pname = "pytz";
5   version = "2023.3.post1";
7   format = "setuptools";
9   src = fetchPypi {
10     inherit pname version;
11     hash = "sha256-e0/dvrlKHrpLVX2iTxn9+dtXUZJUQnCpEB2FCfn0PXs=";
12   };
14   nativeCheckInputs = [ unittestCheckHook ];
16   unittestFlagsArray = [ "-s" "pytz/tests" ];
18   pythonImportsCheck = [ "pytz" ];
20   meta = with lib; {
21     description = "World timezone definitions, modern and historical";
22     homepage = "https://pythonhosted.org/pytz";
23     license = licenses.mit;
24     maintainers = with maintainers; [ dotlambda ];
25   };