cmake: 2.4.8 added

svn path=/nixpkgs/branches/stdenv-updates/; revision=10611
This commit is contained in:
Yury G. Kudryashov 2008-02-10 17:41:51 +00:00
parent b5b189bed8
commit e2751942c7
5 changed files with 26 additions and 21 deletions

View File

@ -0,0 +1,3 @@
args: (import ./common.nix) {
sha256 = "0mkx23s7zq48hzzzw3vbzsfzfz3rjsiwgf3i00xawcxrjjrgxm9g";
} (args // { v = "2.4"; })

View File

@ -0,0 +1,3 @@
args: (import ./common.nix) {
sha256 = "1w9i0qrbciym5ahag24xyp1x0qj6awq1cs07hdjflxikyga0f1pj";
} (args // { v = "2.4"; })

View File

@ -0,0 +1,19 @@
hash: args: with args;
stdenv.mkDerivation rec {
name = "cmake-" + version;
setupHook = ./setup-hook.sh;
src = fetchurl ({
url = "http://www.cmake.org/files/v${v}/${name}.tar.gz";
} // hash);
propagatedBuildInputs = [replace];
postUnpack = "source ${setupHook}; fixCmakeFiles \${sourceRoot}";
postInstall="fixCmakeFiles \$out/share";
meta = {
description = "Cross-Platform Makefile Generator";
};
}

View File

@ -1,20 +0,0 @@
args: with args;
stdenv.mkDerivation {
name = "cmake-2.4.7";
setupHook = ./setup-hook.sh;
src = fetchurl {
url = http://www.cmake.org/files/v2.4/cmake-2.4.7.tar.gz;
sha256 = "0mkx23s7zq48hzzzw3vbzsfzfz3rjsiwgf3i00xawcxrjjrgxm9g";
};
propagatedBuildInputs = [replace];
postUnpack = "source \${setupHook}; fixCmakeFiles \${sourceRoot}";
postInstall="fixCmakeFiles \$out/share";
meta = {
description = "Cross-Platform Makefile Generator";
};
}

View File

@ -1525,7 +1525,7 @@ rec {
inherit fetchurl stdenv;
};
cmake = import ../development/tools/build-managers/cmake {
cmake = (selectVersion ../development/tools/build-managers/cmake "2.4.8") {
inherit fetchurl stdenv replace;
};