anchor.diff: -{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, perl, python, which, makeWrapper
  +{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, perl, python, which, makeQtWrapper
   , libX11, libxcb, mesa
   , qtbase, qtdeclarative, qtquickcontrols, qttools, qtx11extras
   , ffmpeg
  
positive.code: assert cddaSupport -> libcdda != null;
  assert youtubeSupport -> youtube-dl != null;
  
  let qtPath = makeSearchPath "lib/qt5/qml" [ qtdeclarative qtquickcontrols ];
  in
  
  stdenv.mkDerivation rec {
    name = "bomi-${version}";
    version = "0.9.11";
  
negative.code:   '';
  
    postInstall = ''
      wrapQtProgram $out/bin/bomi \
        ${optionalString youtubeSupport "--prefix PATH ':' '${youtube-dl}/bin'"}
    '';
  
  