anchor.diff:  assert cddaSupport -> libcdda != null;
   assert youtubeSupport -> youtube-dl != null;
   
  -stdenv.mkDerivation rec {
  +mkDerivation rec {
     pname = "bomi";
     version = "0.9.11";
   
  
positive.code:                    ++ optional cddaSupport "--enable-cdda"
                     ;
  
    nativeBuildInputs = [ makeWrapper pkgconfig perl python which qttools qmake ];
  
    meta = with stdenv.lib; {
      description = "Powerful and easy-to-use multimedia player";
  
negative.code:     patchShebangs build-mpv
    '';
  
    dontWrapQtApps = true;
    postInstall = ''
      wrapQtApp $out/bin/bomi \
        ${optionalString youtubeSupport "--prefix PATH ':' '${youtube-dl}/bin'"}
    '';
  
  