blob: 1d0a0ba022fef744ce81f801bdd6f21ac74eed70 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pygame
}:
buildPythonPackage rec {
pname = "pyrect";
version = "0.2.0";
src = fetchPypi {
pname = "PyRect";
inherit version;
sha256 = "sha256-9lFV9t+bkptnyv+9V8CUfFrlRJ07WA0XgHS/+0egm3g=";
};
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";
license = licenses.bsd3;
maintainers = with maintainers; [ lucasew ];
};
}
|