cmake: Update to latest upstream (2.8.12.2).

This commit is contained in:
Petr Rockai 2014-01-29 23:42:11 +01:00
parent 25a7190336
commit abd8059802

View File

@ -7,7 +7,7 @@ with stdenv.lib;
let
os = stdenv.lib.optionalString;
majorVersion = "2.8";
minorVersion = "11.2";
minorVersion = "12.2";
version = "${majorVersion}.${minorVersion}";
in
@ -18,19 +18,15 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "${meta.homepage}files/v${majorVersion}/cmake-${version}.tar.gz";
sha256 = "0qh5dhd7ff08n2h569j7g9m92gb3bz14wvhwjhwl7lgx794cnamk";
sha256 = "0phf295a9cby0v7zqdswr238v5aiy3rb2fs6dz39zjxbmzlp8rcc";
};
enableParallelBuilding = true;
patches =
# See https://github.com/NixOS/nixpkgs/issues/762
# and http://public.kitware.com/Bug/view.php?id=13887
# Remove this patch when a CMake release contains the corresponding fix
[ ./762-13887.patch ]
# Don't search in non-Nix locations such as /usr, but do search in
# Nixpkgs' Glibc.
++ optional (stdenv ? glibc) ./search-path.patch;
optional (stdenv ? glibc) ./search-path.patch;
buildInputs = [ curl expat zlib bzip2 libarchive ]
++ optional useNcurses ncurses