Merge pull request #201401 from SuperSandro2000/pyrect
python310Packages.pyrect: normalise pname, cleanup, remove tox depend…
This commit is contained in:
@@ -1,25 +1,28 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, tox
|
||||
, pytestCheckHook
|
||||
, pygame
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyRect";
|
||||
pname = "pyrect";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "PyRect";
|
||||
inherit version;
|
||||
sha256 = "sha256-9lFV9t+bkptnyv+9V8CUfFrlRJ07WA0XgHS/+0egm3g=";
|
||||
};
|
||||
|
||||
checkInputs = [ tox pytestCheckHook pygame ];
|
||||
pythonImportsCheck = [ "pyrect" ];
|
||||
checkInputs = [ pytestCheckHook pygame ];
|
||||
|
||||
preCheck = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "pyrect" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple module with a Rect class for Pygame-like rectangular areas";
|
||||
homepage = "https://github.com/asweigart/pyrect";
|
||||
|
||||
Reference in New Issue
Block a user