anchor.diff:  
     configurePhase = ''
       python waf configure --prefix=$out \
  -      ${optionalString (optDbus != null) "--dbus"} \
  +      --dbus \
         --classic \
  -      ${optionalString (optLibffado != null) "--firewire"} \
  -      ${optionalString (optAlsaLib != null) "--alsa"} \
  -      --autostart=${if (optDbus != null) then "dbus" else "classic"} \
  +      ${optionalString (!libOnly) "--firewire"} \
  +      ${optionalString (!libOnly) "--alsa"} \
  +      --autostart=dbus \
     '';
   
     buildPhase = ''
  
positive.code:     sha256 = "1a2213l7x6sgqg2hq3yhnpvvvqyskhsmx8j3z0jgjsqwz9xa3wbr";
    };
  
    nativeBuildInputs = [ pkgconfig python makeWrapper ];
    buildInputs = [
      python
  
      libsamplerate libsndfile readline expat
  
      optDbus optPythonDBus optLibffado optAlsaLib optLibopus
    ];
  
    prePatch = ''
  
negative.code:     wrapProgram $out/bin/jack_control --set PYTHONPATH $PYTHONPATH
    '');
  
    meta = with stdenv.lib; {
      description = "JACK audio connection kit, version 2 with jackdbus";
      homepage = "http://jackaudio.org";
      license = licenses.gpl2Plus;
      platforms = platforms.all;
      maintainers = with maintainers; [ goibhniu wkennington ];
    };
  }
  