anchor.diff:  
     src = fetchurl {
       url = "${meta.homepage}files/v${majorVersion}/cmake-${version}.tar.gz";
  -    # from https://cmake.org/files/v3.7/cmake-3.7.2-SHA-256.txt
  -    sha256 = "dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0";
  +    # from https://cmake.org/files/v3.8/cmake-3.8.2-SHA-256.txt
  +    sha256 = "da3072794eb4c09f2d782fcee043847b99bb4cf8d4573978d9b2024214d6e92d";
     };
   
     prePatch = optionalString (!useSharedLibraries) ''
  
positive.code: { stdenv, fetchurl, pkgconfig
  , bzip2, curl, expat, libarchive, xz, zlib, libuv
  # darwin attributes
  , ps
  , isBootstrap ? false
  
negative.code: 
  let
    os = stdenv.lib.optionalString;
    majorVersion = "3.8";
    minorVersion = "2";
    version = "${majorVersion}.${minorVersion}";
  in
  