mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
calibre: add image optimization programs
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
libstemmer,
|
||||
libuchardet,
|
||||
libusb1,
|
||||
libwebp,
|
||||
optipng,
|
||||
piper-tts,
|
||||
pkg-config,
|
||||
podofo,
|
||||
@@ -190,6 +192,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
wrapProgram $program \
|
||||
''${qtWrapperArgs[@]} \
|
||||
''${gappsWrapperArgs[@]} \
|
||||
--prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
libjpeg
|
||||
libwebp
|
||||
optipng
|
||||
]
|
||||
} \
|
||||
${if popplerSupport then popplerArgs else ""}
|
||||
done
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user