anchor.diff:  , buildTools ? [], libraryToolDepends ? [], executableToolDepends ? [], testToolDepends ? [], benchmarkToolDepends ? []
   , configureFlags ? []
   , description ? ""
  -, doCheck ? !isCross && (stdenv.lib.versionOlder "7.4" ghc.version)
  +, doCheck ? !isCross && stdenv.lib.versionOlder "7.4" ghc.version
   , doBenchmark ? false
   , doHoogle ? true
   , editedCabalFile ? null
  
positive.code:     runHook postBuild
    '';
  
    checkPhase = ''
      runHook preCheck
      ${setupCommand} test ${testTarget}
  
negative.code:                       buildTools ++ libraryToolDepends ++ executableToolDepends;
    propagatedBuildInputs = buildDepends ++ libraryHaskellDepends ++ executableHaskellDepends;
    otherBuildInputs = setupHaskellDepends ++ extraLibraries ++ librarySystemDepends ++ executableSystemDepends ++
                       allPkgconfigDepends ++
                       optionals doCheck (testDepends ++ testHaskellDepends ++ testSystemDepends ++ testToolDepends) ++
                       optionals doBenchmark (benchmarkDepends ++ benchmarkHaskellDepends ++ benchmarkSystemDepends ++ benchmarkToolDepends);
    allBuildInputs = propagatedBuildInputs ++ otherBuildInputs;
  