lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

box2d_2_0_1: delete expression

Not used anywhere, appears to be no reason to keep it around.

See also #4210

-84
-83
pkgs/development/libraries/box2d/2.0.1.nix
··· 1 - x@{builderDefsPackage 2 - , unzip, cmake, mesa, freeglut, libX11, xproto 3 - , inputproto, libXi 4 - , ...}: 5 - builderDefsPackage 6 - (a : 7 - let 8 - helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++ 9 - []; 10 - 11 - buildInputs = map (n: builtins.getAttr n x) 12 - (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 13 - sourceInfo = rec { 14 - baseName="box2d"; 15 - version="2.0.1"; 16 - name="${baseName}-${version}"; 17 - url="http://box2d.googlecode.com/files/Box2D_v${version}.zip"; 18 - hash="62857048aa089b558561074154430883cee491eedd71247f75f488cba859e21f"; 19 - }; 20 - in 21 - rec { 22 - src = a.fetchurl { 23 - url = sourceInfo.url; 24 - sha256 = sourceInfo.hash; 25 - }; 26 - 27 - inherit (sourceInfo) name version; 28 - inherit buildInputs; 29 - 30 - phaseNames = ["fixIncludes" "setVars" "changeSettings" "doMake" "doDeploy"]; 31 - 32 - goSrcDir = ''cd Box2D''; 33 - 34 - fixIncludes = a.fullDepEntry '' 35 - sed -i Source/Dynamics/Contacts/b2PolyContact.cpp \ 36 - -i Source/Dynamics/Contacts/b2CircleContact.cpp \ 37 - -i Source/Dynamics/Contacts/b2PolyAndCircleContact.cpp \ 38 - -i Source/Common/b2BlockAllocator.cpp \ 39 - -i Source/Collision/b2BroadPhase.cpp \ 40 - -i Examples/TestBed/Framework/Render.cpp \ 41 - -i Examples/TestBed/Tests/BroadPhaseTest.cpp \ 42 - -i Examples/TestBed/Tests/TestEntries.cpp \ 43 - -e '1i#include <string.h>' 44 - '' ["minInit" "addInputs" "doUnpack"]; 45 - 46 - setVars = a.noDepEntry '' 47 - export NIX_LDFLAGS="$NIX_LDFLAGS -lX11 -lXi" 48 - ''; 49 - 50 - doDeploy = a.fullDepEntry '' 51 - mkdir -p "$out"/lib 52 - mkdir -p "$out"/include/Box2D 53 - cp Library/* Source/Gen/float/lib*.{a,so} "$out"/lib 54 - cp -r Source "$out"/include/Box2D/Source 55 - find "$out"/include/Box2D/Source ! -name '*.h' -exec rm '{}' ';' 56 - sed -e s@../Source@Box2D/Source@ -i Include/Box2D.h 57 - cp Include/Box2D.h "$out"/include/Box2D 58 - mkdir -p "$out/share" 59 - cp -r Examples "$out/share" 60 - '' ["minInit" "addInputs" "doMake" "defEnsureDir"]; 61 - 62 - changeSettings = a.fullDepEntry '' 63 - sed -i Source/Common/b2Settings.h -e 's@b2_maxPolygonVertices .*@b2_maxPolygonVertices = 15;@' 64 - '' ["minInit" "addInputs" "doUnpack"]; 65 - 66 - meta = { 67 - description = "2D physics engine"; 68 - maintainers = with a.lib.maintainers; 69 - [ 70 - raskin 71 - ]; 72 - platforms = with a.lib.platforms; 73 - linux; 74 - license = "bsd"; 75 - branch = "2.0.1"; 76 - }; 77 - passthru = { 78 - updateInfo = { 79 - downloadPage = "http://code.google.com/p/box2d/downloads/list"; 80 - }; 81 - }; 82 - }) x 83 -
-1
pkgs/top-level/all-packages.nix
··· 6631 6631 botanUnstable = callPackage ../development/libraries/botan/unstable.nix { }; 6632 6632 6633 6633 box2d = callPackage ../development/libraries/box2d { }; 6634 - box2d_2_0_1 = callPackage ../development/libraries/box2d/2.0.1.nix { }; 6635 6634 6636 6635 breakpad = callPackage ../development/libraries/breakpad { }; 6637 6636