Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 24 lines 594 B view raw
1{ lib, buildPythonPackage, fetchPypi, unittestCheckHook }: 2 3buildPythonPackage rec { 4 pname = "pytz"; 5 version = "2022.6"; 6 7 src = fetchPypi { 8 inherit pname version; 9 hash = "sha256-6JUSQGt5PKOfWXG8mZzFOM4SXA5RwnlBvvRWi0YAleI="; 10 }; 11 12 checkInputs = [ unittestCheckHook ]; 13 14 unittestFlagsArray = [ "-s" "pytz/tests" ]; 15 16 pythonImportsCheck = [ "pytz" ]; 17 18 meta = with lib; { 19 description = "World timezone definitions, modern and historical"; 20 homepage = "https://pythonhosted.org/pytz"; 21 license = licenses.mit; 22 maintainers = with maintainers; [ dotlambda ]; 23 }; 24}