From 6a051f96a221777fe1d6bb56ebc698aadd9f7166 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 13 Nov 2008 21:05:01 +0000 Subject: [PATCH] Updated cmake to version 2.6.2. svn path=/nixpkgs/trunk/; revision=13286 --- .../tools/build-managers/cmake/default.nix | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/pkgs/development/tools/build-managers/cmake/default.nix b/pkgs/development/tools/build-managers/cmake/default.nix index 8b8e2f976e0b..9ce423bd934f 100644 --- a/pkgs/development/tools/build-managers/cmake/default.nix +++ b/pkgs/development/tools/build-managers/cmake/default.nix @@ -1,19 +1,16 @@ -args: with args; -stdenv.mkDerivation { - name = "cmake-2.6.0"; +{fetchurl, stdenv, replace}: + +stdenv.mkDerivation rec { + name = "cmake-2.6.2"; setupHook = ./setup-hook.sh; - - src = fetchurl { url=http://www.cmake.org/files/v2.6/cmake-2.6.0.tar.gz; - sha256 = "09qgk5gk0pnihzf2mmqz5cayd64y5viic8x78x4czrh4982x76a9"; - }; - - propagatedBuildInputs = [replace]; - - postUnpack = "source \${setupHook}; fixCmakeFiles \${sourceRoot}"; - - postInstall="fixCmakeFiles \$out/share"; - meta = { description = "Cross-Platform Makefile Generator"; }; + src = fetchurl { + url = "http://www.cmake.org/files/v2.6/${name}.tar.gz"; + sha256 = "b3f5a9dfa97fb82cb1b7d78a62d949f93c8d4317af36674f337d27066fa6b7e9"; + }; + propagatedBuildInputs = [replace]; + postUnpack = "source \${setupHook}; fixCmakeFiles \${sourceRoot}"; + postInstall="fixCmakeFiles \$out/share"; }