ghostscript: cosmetic don't rely on magic URL syntax; URLs are strings

This commit is contained in:
Peter Simons 2012-09-06 18:34:18 +02:00
parent 52e5b8e2c5
commit 94da2e30dd

View File

@ -9,7 +9,7 @@ assert cupsSupport -> cups != null;
let let
meta = { meta = {
homepage = http://www.gnu.org/software/ghostscript/; homepage = "http://www.gnu.org/software/ghostscript/";
description = "GNU Ghostscript, a PostScript interpreter"; description = "GNU Ghostscript, a PostScript interpreter";
longDescription = '' longDescription = ''
@ -41,11 +41,11 @@ let
mainlineSrc = { mainlineSrc = {
name = "ghostscript-9.05"; name = "ghostscript-9.05";
src = fetchurl { src = fetchurl {
url = http://downloads.ghostscript.com/public/ghostscript-9.05.tar.bz2; url = "http://downloads.ghostscript.com/public/ghostscript-9.05.tar.bz2";
sha256 = "1b6fi76x6pn9dmr9k9lh8kimn968dmh91k824fmm59d5ycm22h8g"; sha256 = "1b6fi76x6pn9dmr9k9lh8kimn968dmh91k824fmm59d5ycm22h8g";
}; };
meta = meta // { meta = meta // {
homepage = http://www.ghostscript.com/; homepage = "http://www.ghostscript.com/";
description = "GPL Ghostscript, a PostScript interpreter"; description = "GPL Ghostscript, a PostScript interpreter";
}; };
@ -64,11 +64,11 @@ stdenv.mkDerivation rec {
fonts = [ fonts = [
(fetchurl { (fetchurl {
url = mirror://gnu/ghostscript/gnu-gs-fonts-std-6.0.tar.gz; url = "mirror://gnu/ghostscript/gnu-gs-fonts-std-6.0.tar.gz";
sha256 = "1lxr1y52r26qjif8kdqkfhsb5llakdcx3f5b9ppdyn59bb83ivsc"; sha256 = "1lxr1y52r26qjif8kdqkfhsb5llakdcx3f5b9ppdyn59bb83ivsc";
}) })
(fetchurl { (fetchurl {
url = mirror://gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz; url = "mirror://gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz";
sha256 = "1cxaah3r52qq152bbkiyj2f7dx1rf38vsihlhjmrvzlr8v6cqil1"; sha256 = "1cxaah3r52qq152bbkiyj2f7dx1rf38vsihlhjmrvzlr8v6cqil1";
}) })
# ... add other fonts here # ... add other fonts here