2 mkDerivation, lib, ghostscript, substituteAll,
3 extra-cmake-modules, karchive, kio, libkexiv2, libkdcraw, kdegraphics-mobipocket
7 pname = "kdegraphics-thumbnailers";
9 license = [ lib.licenses.lgpl21 ];
10 maintainers = [ lib.maintainers.ttuegel ];
12 nativeBuildInputs = [ extra-cmake-modules ];
13 buildInputs = [ karchive kio libkexiv2 libkdcraw kdegraphics-mobipocket ];
16 # Hardcode patches to Ghostscript so PDF thumbnails work OOTB.
17 # Intentionally not doing the same for dvips because TeX is big.
19 gs = "${ghostscript}/bin/gs";
20 src = ./gs-paths.patch;