Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 626 B view raw
1{ lib, buildPythonPackage, fetchPypi, unittestCheckHook }: 2 3buildPythonPackage rec { 4 pname = "pytz"; 5 version = "2023.3"; 6 7 format = "setuptools"; 8 9 src = fetchPypi { 10 inherit pname version; 11 hash = "sha256-HYzinbGJGR+1UzjubQOH2Cq1nz0A6sEDQS1k4OvQxYg="; 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}