7 buildPythonPackage rec {
10 format = "setuptools";
12 src = fetchFromGitHub {
15 rev = "refs/tags/${version}";
16 hash = "sha256-yjLFvsg8GQLxjN1vtZM9zl+kAmD4+eS/vzRkpj0SCjY=";
23 # We need to build the package explicitly a first time so that the library/Box2D/Box2D.py file
25 # After that, the default behavior will succeed at installing the package.
30 pythonImportsCheck = [
35 # Tests need to start GUI windows.
39 description = "2D Game Physics for Python";
40 homepage = "https://github.com/pybox2d/pybox2d";
41 license = licenses.zlib;
42 maintainers = with maintainers; [ GaetanLepage ];