anchor.diff:  , cmake
   , fetchTritonPatch
   , fetchurl
  +, lib
   , ninja
   
   , bzip2
  
positive.code:   selfApplySetupHook = true;
    cmakeConfigure = !bootstrap;
  
    meta = with stdenv.lib; {
      description = "Cross-Platform Makefile Generator";
      homepage = http://www.cmake.org/;
      license = licenses.free; # cmake
  
negative.code: }:
  
  let
    inherit (lib)
      optionals
      optionalString;
  
    channel = "3.10";
    version = "${channel}.2";
  in
  stdenv.mkDerivation rec {
    name = "cmake${optionalString bootstrap "-bootstrap"}-${version}";
  
    src = fetchurl {
      url = "https://cmake.org/files/v${channel}/cmake-${version}.tar.gz";
      multihash = "QmcXWA1sGdfRLTg3YudQNgEq5qnMcAhWohNP7KAFEDykHQ";
      sha256 = "80d0faad4ab56de07aa21a7fc692c88c4ce6156d42b0579c6962004a70a3218b";
    };
  
    patches = [
  