diff options
Diffstat (limited to 'pkgs/development/python-modules/pyrect/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pyrect/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/pyrect/default.nix b/pkgs/development/python-modules/pyrect/default.nix index 54566658443c3..1d0a0ba022fef 100644 --- a/pkgs/development/python-modules/pyrect/default.nix +++ b/pkgs/development/python-modules/pyrect/default.nix @@ -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"; |