anchor.diff:      owner  = "andrew-bibb";
     };
   
  -  buildInputs = [ qtbase makeWrapper ];
  +  buildInputs = [ qtbase makeWrapper qmakeHook ];
   
  -  configurePhase = ''
  -    runHook preConfigure
  +  preConfigure = ''
       substituteInPlace ./cmst.pro \
         --replace "/usr/bin" "$out/bin" \
         --replace "/usr/share" "$out/usr/share"
  
positive.code:     substituteInPlace ./apps/rootapp/rootapp.pro \
        --replace "/etc" "$out/etc" \
        --replace "/usr/share" "$out/share"
      runHook postConfigure
    '';
  
    buildPhase = ''
      runHook preBuild
      qmake PREFIX=$out
      make
      runHook postBuild
    '';
  
    postInstall = ''
  
negative.code: { stdenv, fetchFromGitHub, qtbase, qmakeHook, makeWrapper, libX11 }:
  
  stdenv.mkDerivation rec {
    name = "cmst-2016.01.28";
  