1{ stdenv, fetchurl, fetchpatch, autoreconfHook, ghostscript }:
2
3stdenv.mkDerivation {
4 name = "ijs-${ghostscript.version}";
5
6 inherit (ghostscript) src;
7
8 postPatch = "cd ijs";
9
10 enableParallelBuilding = true;
11
12 nativeBuildInputs = [ autoreconfHook ];
13
14 configureFlags = [ "--disable-static" "--enable-shared" ];
15
16 meta = with stdenv.lib; {
17 homepage = https://www.openprinting.org/download/ijs/;
18 description = "Raster printer driver architecture";
19
20 license = licenses.gpl3Plus;
21
22 platforms = platforms.all;
23 maintainers = [ maintainers.abbradar ];
24 };
25}