at 23.11-beta 632 B view raw
1{ lib, buildPythonPackage, fetchPypi, unittestCheckHook }: 2 3buildPythonPackage rec { 4 pname = "pytz"; 5 version = "2023.3.post1"; 6 7 format = "setuptools"; 8 9 src = fetchPypi { 10 inherit pname version; 11 hash = "sha256-e0/dvrlKHrpLVX2iTxn9+dtXUZJUQnCpEB2FCfn0PXs="; 12 }; 13 14 nativeCheckInputs = [ unittestCheckHook ]; 15 16 unittestFlagsArray = [ "-s" "pytz/tests" ]; 17 18 pythonImportsCheck = [ "pytz" ]; 19 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 }; 26}