mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
6fb297513a
<45219fb00901110456i6f21db35tbd1894eaea2146ff@mail.gmail.com>: * nixpkgs-ccrypt-1.7-new.patch * nixpkgs-cmake-add-ccmake.patch * nixpkgs-cpufrequtils-005-new.patch * nixpkgs-dwm-5.1-fix.patch * nixpkgs-freeimage-3.11.0-new.patch * nixpkgs-proxychains-3.1-new.patch * nixpkgs-psi-to-0.12.patch * nixpkgs-skype-to-2.0.0.72.patch * nixpkgs-truecrypt-6.1a-fix.patch * nixpkgs-vxl-1.11.0-new.patch * nixpkgs-xkb-popular-esperanto-symbols.patch * nixpkgs-xorg-via-video-fix.patch svn path=/nixpkgs/trunk/; revision=13751
22 lines
723 B
Nix
22 lines
723 B
Nix
{fetchurl, stdenv, replace, ncurses}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cmake-2.6.2";
|
|
setupHook = ./setup-hook.sh;
|
|
meta = {
|
|
description = "Cross-Platform Makefile Generator";
|
|
};
|
|
src = fetchurl {
|
|
url = "http://www.cmake.org/files/v2.6/${name}.tar.gz";
|
|
sha256 = "b3f5a9dfa97fb82cb1b7d78a62d949f93c8d4317af36674f337d27066fa6b7e9";
|
|
};
|
|
inherit ncurses;
|
|
propagatedBuildInputs = [replace];
|
|
postUnpack = "
|
|
source \${setupHook}; fixCmakeFiles \${sourceRoot};
|
|
echo 'SET (CMAKE_SYSTEM_PREFIX_PATH \"'\${ncurses}'\" CACHE FILEPATH \"Root for libs for cmake\" FORCE)' > \${sourceRoot}/cmakeInit.txt
|
|
";
|
|
configureFlags= [ " --init=cmakeInit.txt " ];
|
|
postInstall="fixCmakeFiles \$out/share";
|
|
}
|