lol

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

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