Skip to content

Commit

Permalink
ghostscript: security 9.20 -> 9.22
Browse files Browse the repository at this point in the history
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 :-/
  • Loading branch information
vcunat committed Dec 9, 2017
1 parent 9c89e52 commit ca6952f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkgs/misc/ghostscript/default.nix
Expand Up @@ -8,8 +8,9 @@
assert x11Support -> xlibsWrapper != null;
assert cupsSupport -> cups != null;
let
version = "9.20";
sha256 = "1az0dnvgingqv78yvfhzmx1zavn5sv1xrrscz984hy3gvz2ks3rw";
version = "9.${ver_min}";
ver_min = "22";
sha256 = "1fyi4yvdj39bjgs10klr31cda1fbx1ar7a7b7yz7v68gykk65y61";

fonts = stdenv.mkDerivation {
name = "ghostscript-fonts";
Expand Down Expand Up @@ -37,7 +38,7 @@ stdenv.mkDerivation rec {
name = "ghostscript-${version}";

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;
};

Expand Down Expand Up @@ -117,7 +118,7 @@ stdenv.mkDerivation rec {
of output drivers for various file formats and printers.
'';

license = stdenv.lib.licenses.gpl3Plus;
license = stdenv.lib.licenses.agpl3;

platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.viric ];
Expand Down

0 comments on commit ca6952f

Please sign in to comment.