anchor.diff:  
     dontUseQmakeConfigure = true;
   
  -  nativeBuildInputs = [ pkg-config qmake removeReferencesTo ];
  +  nativeBuildInputs = [ pkg-config qmake removeReferencesTo wrapGAppsHook ];
   
     buildInputs = [
       chmlib
  
positive.code:     for program in $out/bin/*; do
        wrapProgram $program \
          ''${qtWrapperArgs[@]} \
          ''${gappsWrapperArgs[@]} \
          --prefix PYTHONPATH : $PYTHONPATH \
          --prefix PATH : ${poppler_utils.out}/bin
      done
  
negative.code: , xdg-utils
  , removeReferencesTo
  , libstemmer
  , wrapGAppsHook
  }:
  
  mkDerivation rec {
    pname = "calibre";
    version = "5.37.0";
  
    src = fetchurl {
      url = "https://download.calibre-ebook.com/${version}/${pname}-${version}.tar.xz";
      hash = "sha256-x2u4v0k05WMATSsuo76NnqChIz8BcTuZfPkZa0uLnMY=";
    };
  
    # https://sources.debian.org/patches/calibre/${version}+dfsg-1
  