nixpkgs/pkgs/development/libraries/ijs/default.nix

35 lines
892 B
Nix
Raw Normal View History

2016-04-30 00:00:09 +00:00
{ stdenv, fetchurl, fetchpatch, autoreconfHook, ghostscript }:
2014-11-05 02:29:02 +00:00
stdenv.mkDerivation {
2016-04-30 00:00:09 +00:00
name = "ijs-${ghostscript.version}";
2014-11-05 02:29:02 +00:00
2016-04-30 00:00:09 +00:00
inherit (ghostscript) src;
2014-11-05 02:29:02 +00:00
2016-01-13 16:07:21 +00:00
patches = [
# http://bugs.ghostscript.com/show_bug.cgi?id=696246
(fetchpatch {
name = "devijs-account-for-device-subclassing.patch";
url = "http://git.ghostscript.com/?p=ghostpdl.git;a=patch;h=b68e05c3";
sha256 = "1c3fzfjzvf15z533vpw3l3da8wcxw98qi3p1lc6lf13940a57c7n";
})
];
postPatch = "cd ijs";
2014-11-05 02:29:02 +00:00
enableParallelBuilding = true;
nativeBuildInputs = [ autoreconfHook ];
configureFlags = [ "--disable-static" "--enable-shared" ];
meta = with stdenv.lib; {
homepage = "https://www.openprinting.org/download/ijs/";
2014-11-05 02:29:02 +00:00
description = "Raster printer driver architecture";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = [ maintainers.abbradar ];
};
}