lol

python310Packages.pyrect: normalise pname, cleanup, remove tox dependency

+8 -5
+8 -5
pkgs/development/python-modules/pyrect/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , tox 5 4 , pytestCheckHook 6 5 , pygame 7 6 }: 7 + 8 8 buildPythonPackage rec { 9 - pname = "PyRect"; 9 + pname = "pyrect"; 10 10 version = "0.2.0"; 11 11 12 12 src = fetchPypi { 13 - inherit pname version; 13 + pname = "PyRect"; 14 + inherit version; 14 15 sha256 = "sha256-9lFV9t+bkptnyv+9V8CUfFrlRJ07WA0XgHS/+0egm3g="; 15 16 }; 16 17 17 - checkInputs = [ tox pytestCheckHook pygame ]; 18 - pythonImportsCheck = [ "pyrect" ]; 18 + checkInputs = [ pytestCheckHook pygame ]; 19 + 19 20 preCheck = '' 20 21 export LC_ALL="en_US.UTF-8" 21 22 ''; 23 + 24 + pythonImportsCheck = [ "pyrect" ]; 22 25 23 26 meta = with lib; { 24 27 description = "Simple module with a Rect class for Pygame-like rectangular areas";