ghostscript: security 9.20 -> 9.22

There are also non-security changes in the releases. /cc #32459.
Printing test OK, and I tested work with some postscript files.
I also fixed the license - it was changed in 2013 :-/
This commit is contained in:
Vladimír Čunát 2017-12-09 17:46:50 +01:00
parent 9c89e52ff2
commit ca6952fcb7
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -8,8 +8,9 @@
assert x11Support -> xlibsWrapper != null; assert x11Support -> xlibsWrapper != null;
assert cupsSupport -> cups != null; assert cupsSupport -> cups != null;
let let
version = "9.20"; version = "9.${ver_min}";
sha256 = "1az0dnvgingqv78yvfhzmx1zavn5sv1xrrscz984hy3gvz2ks3rw"; ver_min = "22";
sha256 = "1fyi4yvdj39bjgs10klr31cda1fbx1ar7a7b7yz7v68gykk65y61";
fonts = stdenv.mkDerivation { fonts = stdenv.mkDerivation {
name = "ghostscript-fonts"; name = "ghostscript-fonts";
@ -37,7 +38,7 @@ stdenv.mkDerivation rec {
name = "ghostscript-${version}"; name = "ghostscript-${version}";
src = fetchurl { src = fetchurl {
url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs920/${name}.tar.xz"; url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9${ver_min}/${name}.tar.xz";
inherit sha256; inherit sha256;
}; };
@ -117,7 +118,7 @@ stdenv.mkDerivation rec {
of output drivers for various file formats and printers. of output drivers for various file formats and printers.
''; '';
license = stdenv.lib.licenses.gpl3Plus; license = stdenv.lib.licenses.agpl3;
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.viric ]; maintainers = [ stdenv.lib.maintainers.viric ];