lol

New package: python-box2d. The Python bindings of the c++ game physics library box2.

+38
+14
pkgs/development/python-modules/box2d/disable-test.patch
··· 1 + Common subdirectories: Box2D-2.3b0/Box2D and Box2D-2.3b0.new/Box2D 2 + Common subdirectories: Box2D-2.3b0/examples and Box2D-2.3b0.new/examples 3 + Common subdirectories: Box2D-2.3b0/library and Box2D-2.3b0.new/library 4 + diff -u Box2D-2.3b0/setup.py Box2D-2.3b0.new/setup.py 5 + --- Box2D-2.3b0/setup.py 2013-02-02 18:09:34.000000000 +0100 6 + +++ Box2D-2.3b0.new/setup.py 2014-10-25 13:32:07.136922343 +0200 7 + @@ -176,7 +176,6 @@ 8 + package_dir = {'Box2D': library_path, 9 + 'Box2D.b2': os.path.join(library_path, 'b2'), 10 + 'Box2D.tests' : 'tests'}, 11 + - test_suite = 'tests', 12 + options = { 'build_ext': { 'swig_opts' : swig_arguments }, 13 + 'egg_info' : { 'egg_base' : library_base }, 14 + },
+24
pkgs/top-level/python-packages.nix
··· 1056 1056 }; 1057 1057 }; 1058 1058 1059 + box2d = buildPythonPackage rec { 1060 + name = "box2d-${version}"; 1061 + version = "2.3b0"; 1062 + 1063 + src = pkgs.fetchurl { 1064 + url = "https://pypi.python.org/packages/source/B/Box2D/Box2D-2.3b0.zip"; 1065 + md5="25fc4f69cd580bdca0022ac3ace53865"; 1066 + }; 1067 + 1068 + patches = [ ../development/python-modules/box2d/disable-test.patch ]; 1069 + 1070 + propagatedBuildInputs = [ pkgs.swig pkgs.box2d ]; 1071 + 1072 + meta = with stdenv.lib; { 1073 + homepage = https://code.google.com/p/pybox2d/; 1074 + description = '' 1075 + A 2D game physics library for Python under 1076 + the very liberal zlib license 1077 + ''; 1078 + license = license.zlib; 1079 + platforms = platforms.all; 1080 + maintainers = [ maintainers.sepi ]; 1081 + }; 1082 + }; 1059 1083 1060 1084 # bugz = buildPythonPackage (rec { 1061 1085 # name = "bugz-0.9.3";