calibre: 5.34.0 -> 5.37.0

main
Ivan Popovych 2 years ago
parent 07ea917134
commit f04b4d0640
  1. 9
      pkgs/applications/misc/calibre/default.nix

@ -23,15 +23,16 @@
, xdg-utils
, removeReferencesTo
, libstemmer
, wrapGAppsHook
}:
mkDerivation rec {
pname = "calibre";
version = "5.34.0";
version = "5.37.0";
src = fetchurl {
url = "https://download.calibre-ebook.com/${version}/${pname}-${version}.tar.xz";
hash = "sha256-1NQB7vrcU0hR308/8keUn/rHhdvJk5Ab0pOMPyiU1+M=";
hash = "sha256-x2u4v0k05WMATSsuo76NnqChIz8BcTuZfPkZa0uLnMY=";
};
# https://sources.debian.org/patches/calibre/${version}+dfsg-1
@ -62,7 +63,7 @@ mkDerivation rec {
dontUseQmakeConfigure = true;
nativeBuildInputs = [ pkg-config qmake removeReferencesTo ];
nativeBuildInputs = [ pkg-config qmake removeReferencesTo wrapGAppsHook ];
buildInputs = [
chmlib
@ -154,7 +155,6 @@ mkDerivation rec {
# Wrap manually
dontWrapQtApps = true;
dontWrapGApps = true;
# Remove some references to shrink the closure size. This reference (as of
# 2018-11-06) was a single string like the following:
@ -166,7 +166,6 @@ mkDerivation rec {
for program in $out/bin/*; do
wrapProgram $program \
''${qtWrapperArgs[@]} \
''${gappsWrapperArgs[@]} \
--prefix PYTHONPATH : $PYTHONPATH \
--prefix PATH : ${poppler_utils.out}/bin
done

Loading…
Cancel
Save