anchor.diff:  
   let
     os = stdenv.lib.optionalString;
  -  majorVersion = "3.6";
  -  minorVersion = "2";
  +  majorVersion = "3.7";
  +  minorVersion = "1";
     version = "${majorVersion}.${minorVersion}";
   in
   
  
positive.code: 
    src = fetchurl {
      url = "${meta.homepage}files/v${majorVersion}/cmake-${version}.tar.gz";
      sha256 = "0imkz04ncz6cv5659qfd4scm99k3siq7zrrsa8pvp663d8mf76hq";
    };
  
    # Don't search in non-Nix locations such as /usr, but do search in our libc.
  
negative.code: { stdenv, fetchurl, pkgconfig
  , bzip2, curl, expat, libarchive, xz, zlib, libuv
  , useNcurses ? false, ncurses, useQt4 ? false, qt4
  , wantPS ? false, ps ? null
  }:
  