anchor.diff:  { lib
   , mkDerivation
   , fetchFromGitHub
  +
   , qmake
  +, qttools
  +
   , curl
   , ffmpeg
   , libmediainfo
  
positive.code: 
    nativeBuildInputs = [ qmake qttools ];
  
    buildInputs = [ curl libmediainfo libzen ffmpeg qtbase qtdeclarative qtmultimedia qtsvg ];
  
    qmakeFlags = [
      "USE_EXTERN_QUAZIP=${quazip}/include/quazip5"
  
negative.code:     substituteInPlace MediaElch.pro --replace "/usr" "$out"
    '';
  
    qtWrapperArgs = [
      # libmediainfo.so.0 is loaded dynamically
      "--prefix LD_LIBRARY_PATH : ${libmediainfo}/lib"
    ];
  
    meta = with lib; {
      homepage = "https://mediaelch.de/mediaelch/";
      description = "Media Manager for Kodi";
  