23 stdenv.mkDerivation rec {
24 pname = "libcupsfilters";
27 src = fetchFromGitHub {
28 owner = "OpenPrinting";
29 repo = "libcupsfilters";
31 hash = "sha256-tnQqM4stUJseDO9BG+PRUSFafjgpQQklTDsDsB9zQ4Y=";
54 "--with-cups-config=${lib.getExe' (lib.getDev cups) "cups-config"}"
55 "--with-mutool-path=${lib.getExe' mupdf "mutool"}"
56 "--with-gs-path=${lib.getExe ghostscript}"
57 "--with-ippfind-path=${lib.getExe' cups "ippfind"}"
58 "--enable-imagefilters"
59 "--with-test-font-path=${dejavu_fonts}/share/fonts/truetype/DejaVuSans.ttf"
62 "CUPS_SERVERBIN=$(out)/lib/cups"
63 "CUPS_DATADIR=$(out)/share/cups"
64 "CUPS_SERVERROOT=$(out)/etc/cups"
68 homepage = "https://github.com/OpenPrinting/libcupsfilters";
69 description = "Backends, filters, and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc";
70 license = lib.licenses.asl20;
71 platforms = lib.platforms.linux;