From e0488019665c24a7694ce31a3d70c284ff519caa Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Thu, 5 Jan 2012 11:56:32 +0000 Subject: [PATCH] Update chipmunk svn path=/nixpkgs/trunk/; revision=31310 --- pkgs/development/libraries/chipmunk/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/chipmunk/default.nix b/pkgs/development/libraries/chipmunk/default.nix index f0613834364f..5dbb31e9bcef 100644 --- a/pkgs/development/libraries/chipmunk/default.nix +++ b/pkgs/development/libraries/chipmunk/default.nix @@ -4,7 +4,8 @@ let fetchurl = args.fetchurl; 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; [ cmake freeglut mesa libX11 xproto inputproto libXi libXmu @@ -12,8 +13,8 @@ let in rec { src = fetchurl { - url = "http://files.slembcke.net/chipmunk/release/Chipmunk-${version}.tgz"; - sha256 = "0ry17lf4kdcac91bpavks2cswch3izsmmam0yhczk7rayj9cvqsh"; + url = "http://files.slembcke.net/chipmunk/release/Chipmunk-${majorVersion}.x/Chipmunk-${version}.tgz"; + sha256 = "c6f550454bc1c63a2a63e0ff8febecb4781a528ab6d6b657a17933a6f567541a"; }; inherit buildInputs; @@ -28,7 +29,7 @@ rec { demoInstall = fullDepEntry('' ensureDir $out/bin - cp chipmunk_demos $out/bin + cp Demo/chipmunk_demos $out/bin '') ["doMakeInstall" "defEnsureDir"]; name = "chipmunk-" + version;