forked from mirrors/nixpkgs
Update chipmunk
svn path=/nixpkgs/trunk/; revision=31310
This commit is contained in:
parent
da6b6a9332
commit
e048801966
|
@ -4,7 +4,8 @@ let
|
||||||
fetchurl = args.fetchurl;
|
fetchurl = args.fetchurl;
|
||||||
fullDepEntry = args.fullDepEntry;
|
fullDepEntry = args.fullDepEntry;
|
||||||
|
|
||||||
version = lib.attrByPath ["version"] "4.1.0" args;
|
version = lib.attrByPath ["version"] "6.0.3" args;
|
||||||
|
majorVersion = lib.attrByPath ["majorVersion"] "6" args;
|
||||||
buildInputs = with args; [
|
buildInputs = with args; [
|
||||||
cmake freeglut mesa
|
cmake freeglut mesa
|
||||||
libX11 xproto inputproto libXi libXmu
|
libX11 xproto inputproto libXi libXmu
|
||||||
|
@ -12,8 +13,8 @@ let
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://files.slembcke.net/chipmunk/release/Chipmunk-${version}.tgz";
|
url = "http://files.slembcke.net/chipmunk/release/Chipmunk-${majorVersion}.x/Chipmunk-${version}.tgz";
|
||||||
sha256 = "0ry17lf4kdcac91bpavks2cswch3izsmmam0yhczk7rayj9cvqsh";
|
sha256 = "c6f550454bc1c63a2a63e0ff8febecb4781a528ab6d6b657a17933a6f567541a";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit buildInputs;
|
inherit buildInputs;
|
||||||
|
@ -28,7 +29,7 @@ rec {
|
||||||
|
|
||||||
demoInstall = fullDepEntry(''
|
demoInstall = fullDepEntry(''
|
||||||
ensureDir $out/bin
|
ensureDir $out/bin
|
||||||
cp chipmunk_demos $out/bin
|
cp Demo/chipmunk_demos $out/bin
|
||||||
'') ["doMakeInstall" "defEnsureDir"];
|
'') ["doMakeInstall" "defEnsureDir"];
|
||||||
|
|
||||||
name = "chipmunk-" + version;
|
name = "chipmunk-" + version;
|
||||||
|
|
Loading…
Reference in a new issue