anchor.diff:  { stdenv, fetchurl, pkgconfig
  -, bzip2, curl, expat, libarchive, xz, zlib
  +, bzip2, curl, expat, libarchive, xz, zlib, libuv
   , useNcurses ? false, ncurses, useQt4 ? false, qt4
   , wantPS ? false, ps ? null
   }:
  
positive.code:   setupHook = ./setup-hook.sh;
  
    buildInputs =
      [ setupHook pkgconfig bzip2 curl expat libarchive xz zlib ]
      ++ optional useNcurses ncurses
      ++ optional useQt4 qt4;
  
  
negative.code: 
    src = fetchurl {
      url = "${meta.homepage}files/v${majorVersion}/cmake-${version}.tar.gz";
      # from https://cmake.org/files/v3.7/cmake-3.7.1-SHA-256.txt
      sha256 = "449a5bce64dbd4d5b9517ebd1a1248ed197add6ad27934478976fd5f1f9330e1";
    };
  
    # Don't search in non-Nix locations such as /usr, but do search in our libc.
  