anchor.diff:      sha256 = "11khrv6jchs0vv0lv43am8lp0x1rr3h6l2xj9dmwrxcpdayfbalr";
     };
   
  +  hardening_stackprotector = false;
  +
     # QGtkStyle unavailable
     patchPhase = ''
       substituteInPlace editors/sc-ide/widgets/code_editor/autocompleter.cpp \
  
positive.code: , libXt, qt, readline
  , useSCEL ? false, emacs
  }:
    
  let optional = stdenv.lib.optional; in
  
  stdenv.mkDerivation rec {  
    name = "supercollider-3.6.6";
  
    meta = {
  
negative.code: 
    cmakeFlags = ''
      -DSC_WII=OFF
      -DSC_EL=${if useSCEL then "ON" else "OFF"}
    '';
  
    nativeBuildInputs = [ cmake pkgconfig ];
  
    buildInputs = [
      gcc libjack2 libsndfile fftw curl libXt qt readline ]
      ++ optional useSCEL emacs;
  }
  