3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.box2d: remove unnecessary pkgs-box2d buildInput

this dependency turns out to be completely unnecessary - the pypi
package includes its own bundled copy of the source (i know - ew.)
and building without pkgs-box2d results in a binary-identical .so.

this has the side-effect of enabling this package on darwin, which was
previously restricted by the apparently linux-only pkgs-box2d.
This commit is contained in:
Robert Scott 2019-04-22 12:34:12 +01:00 committed by Frederik Rietdijk
parent 4c49c02073
commit d40894cbea
2 changed files with 1 additions and 3 deletions

View file

@ -2,7 +2,6 @@
, buildPythonPackage
, fetchPypi
, swig2
, pkgs-box2d
, isPy3k
}:
@ -21,7 +20,6 @@ buildPythonPackage rec {
'';
nativeBuildInputs = [ swig2 ];
buildInputs = [ pkgs-box2d ];
# tests not included with pypi release
doCheck = false;

View file

@ -1314,7 +1314,7 @@ in {
bottle = callPackage ../development/python-modules/bottle { };
box2d = callPackage ../development/python-modules/box2d { pkgs-box2d = pkgs.box2d; };
box2d = callPackage ../development/python-modules/box2d { };
branca = callPackage ../development/python-modules/branca { };