anchor.diff:      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 = ''
  
positive.code: { stdenv, fetchFromGitHub, qtbase, makeWrapper, libX11 }:
  
  stdenv.mkDerivation rec {
    name = "cmst-2016.01.28";
  
negative.code:     owner  = "andrew-bibb";
    };
  
    buildInputs = [ qtbase makeWrapper qmakeHook ];
  
    preConfigure = ''
      substituteInPlace ./cmst.pro \
        --replace "/usr/bin" "$out/bin" \
        --replace "/usr/share" "$out/usr/share"
  