ghostscript: update hash (#47946)

I previously didn't update the hash, so was still building ghostscript-9.24
(which explained why docs were still from 9.24)

The ICC profile validation patch from #47937 is included in 9.25, so we
can strip it from the list of patches.

cc @xeji
This commit is contained in:
Florian Klink
2018-10-06 01:54:26 +02:00
committed by xeji
parent 938d98ebd5
commit 02b0836d42
2 changed files with 2 additions and 83 deletions

View File

@@ -10,8 +10,7 @@ assert cupsSupport -> cups != null;
let
version = "9.${ver_min}";
ver_min = "25";
# ghostscript*.tar.xz in https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9xx/SHA512SUMS
sha512 = "dcbeeb5d3dd5ccaf949dc4be68363c50b1d35e647be4790a50b1bbf5f259f1d9181f705be27bfca708c4d270f945ff4b24e3db10b57800c1ee0ea7a40931c547";
sha512 = "18pcqzva7pq2a9mmqf9pq8x4winb6qmzni49vq2qx50k60rwyv1kdmixik3ym2bpj5p1j8g0vb47w7w2cf4lba5q583ylpd8rshn73s";
fonts = stdenv.mkDerivation {
name = "ghostscript-fonts";
@@ -44,7 +43,6 @@ stdenv.mkDerivation rec {
};
patches = [
./icc-profile-validation.patch
./urw-font-files.patch
./doc-no-ref.diff
];
@@ -94,8 +92,7 @@ stdenv.mkDerivation rec {
cp -r Resource "$out/share/ghostscript/${version}"
mkdir -p "$doc/share/doc/ghostscript"
# docs are still built into 9.24
mv "$doc/share/doc/9.24" "$doc/share/doc/ghostscript/${version}"
mv "$doc/share/doc/${version}" "$doc/share/doc/ghostscript/"
ln -s "${fonts}" "$out/share/ghostscript/fonts"
'' + stdenv.lib.optionalString stdenv.isDarwin ''