2007-09-20 21:27:55 +02:00
|
|
|
args: with args;
|
2007-07-08 00:31:37 +02:00
|
|
|
stdenv.mkDerivation {
|
2008-05-11 16:52:09 +02:00
|
|
|
name = "cmake-2.6.0";
|
2007-08-05 15:54:42 +02:00
|
|
|
setupHook = ./setup-hook.sh;
|
2007-07-08 00:31:37 +02:00
|
|
|
|
2008-05-11 16:52:09 +02:00
|
|
|
src = fetchurl { url=http://www.cmake.org/files/v2.6/cmake-2.6.0.tar.gz;
|
|
|
|
sha256 = "09qgk5gk0pnihzf2mmqz5cayd64y5viic8x78x4czrh4982x76a9";
|
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
|
|
|
};
|
|
|
|
}
|