2007-09-20 21:27:55 +02:00
|
|
|
args: with args;
|
2007-07-08 00:31:37 +02:00
|
|
|
stdenv.mkDerivation {
|
2007-08-08 15:20:18 +02:00
|
|
|
name = "cmake-2.4.7";
|
2007-08-05 15:54:42 +02:00
|
|
|
setupHook = ./setup-hook.sh;
|
2007-07-08 00:31:37 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2007-08-08 15:20:18 +02:00
|
|
|
url = http://www.cmake.org/files/v2.4/cmake-2.4.7.tar.gz;
|
|
|
|
sha256 = "0mkx23s7zq48hzzzw3vbzsfzfz3rjsiwgf3i00xawcxrjjrgxm9g";
|
2007-07-08 00:31:37 +02:00
|
|
|
};
|
|
|
|
|
2007-09-20 21:27:55 +02:00
|
|
|
propagatedBuildInputs = [replace];
|
2007-07-08 00:31:37 +02:00
|
|
|
|
2007-09-20 21:27:55 +02:00
|
|
|
postUnpack = "source \${setupHook}; fixCmakeFiles \${sourceRoot}";
|
2007-08-05 15:54:42 +02:00
|
|
|
|
2007-09-20 21:27:55 +02:00
|
|
|
postInstall="fixCmakeFiles \$out/share";
|
2007-08-05 15:54:42 +02:00
|
|
|
|
2007-07-08 00:31:37 +02:00
|
|
|
meta = {
|
2007-08-05 15:54:42 +02:00
|
|
|
description = "Cross-Platform Makefile Generator";
|
2007-07-08 00:31:37 +02:00
|
|
|
};
|
|
|
|
}
|