pyrect: init at 0.1.4
Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
parent
7ed4633ca3
commit
11db3d404a
1 changed files with 29 additions and 0 deletions
29
pkgs/development/python-modules/pyrect/default.nix
Normal file
29
pkgs/development/python-modules/pyrect/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, tox
|
||||
, pytestCheckHook
|
||||
, pygame
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "PyRect";
|
||||
version = "0.1.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-Oy+nNTzjKhGqawoVSVlo0qdjQjyJR64ki5LAN9704gI=";
|
||||
};
|
||||
|
||||
checkInputs = [ tox pytestCheckHook pygame ];
|
||||
pythonImportsCheck = [ "pyrect" ];
|
||||
preCheck = ''
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple module with a Rect class for Pygame-like rectangular areas";
|
||||
homepage = "https://github.com/asweigart/pyrect";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ lucasew ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue