anchor.diff:      "-DISCORE_BUILD_FOR_PACKAGE_MANAGER=True"
     ];
   
  -  patchPhase = ''
  -    sed -e '77d' -i CMake/modules/GetGitRevisionDescription.cmake
  -  '';
  -
     preConfigure = ''
       export CMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH:$(echo "${jamomacore}/jamoma/share/cmake/Jamoma")"
     '';
   
  -  installPhase = ''
  -    cmake --build . --target install
  -  '';
  +  postInstall = ''rm $out/bin/i-score.sh'';
   
     meta = {
       description = "An interactive sequencer for the intermedia arts";
  
positive.code:   libsndfile,
    ninja,
    portaudio,
    qtbase,
    qtdeclarative,
    qtimageformats,
    qtsvg,
    qttools,
    qtwebsockets,
  
negative.code: }:
  
  stdenv.mkDerivation rec {
    version = "1.0.0-b31";
    name = "i-score-${version}";
  
    src = fetchFromGitHub {
      owner = "OSSIA";
      repo = "i-score";
      rev = "v${version}";
      sha256 = "0g7s6n11w3wflrv5i2047dxx56lryms7xj0mznnlk5bii7g8dxzb";
      fetchSubmodules = true;
    };
  
    buildInputs = [
      alsaLib
      boost
      cln
      cmake
  