cmake: 2.4.8 added
svn path=/nixpkgs/branches/stdenv-updates/; revision=10611
This commit is contained in:
parent
b5b189bed8
commit
e2751942c7
3
pkgs/development/tools/build-managers/cmake/2.4.7.nix
Normal file
3
pkgs/development/tools/build-managers/cmake/2.4.7.nix
Normal file
@ -0,0 +1,3 @@
|
||||
args: (import ./common.nix) {
|
||||
sha256 = "0mkx23s7zq48hzzzw3vbzsfzfz3rjsiwgf3i00xawcxrjjrgxm9g";
|
||||
} (args // { v = "2.4"; })
|
3
pkgs/development/tools/build-managers/cmake/2.4.8.nix
Normal file
3
pkgs/development/tools/build-managers/cmake/2.4.8.nix
Normal file
@ -0,0 +1,3 @@
|
||||
args: (import ./common.nix) {
|
||||
sha256 = "1w9i0qrbciym5ahag24xyp1x0qj6awq1cs07hdjflxikyga0f1pj";
|
||||
} (args // { v = "2.4"; })
|
19
pkgs/development/tools/build-managers/cmake/common.nix
Normal file
19
pkgs/development/tools/build-managers/cmake/common.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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";
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user