From 8b83b37ec58290d905fd2bd7a1b495043e46cfc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 1 Jun 2008 16:51:03 +0000 Subject: [PATCH] GNU gv 3.6.4. svn path=/nixpkgs/trunk/; revision=11946 --- pkgs/applications/misc/gv/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/misc/gv/default.nix b/pkgs/applications/misc/gv/default.nix index 4566761e6903..160ebe330833 100644 --- a/pkgs/applications/misc/gv/default.nix +++ b/pkgs/applications/misc/gv/default.nix @@ -1,20 +1,22 @@ { stdenv, fetchurl, Xaw3d, ghostscriptX }: -stdenv.mkDerivation { - name = "gv-3.6.1"; +stdenv.mkDerivation rec { + name = "gv-3.6.4"; src = fetchurl { - url = http://ftp.gnu.org/gnu/gv/gv-3.6.3.tar.gz; - sha256 = "9486c25675719e986cbd77b48204025e825c46258b6750deeb64b3940685a033"; + url = "mirror://gnu/gv/${name}.tar.gz"; + sha256 = "09v87h0fmpg7wid6b7wwcbl28x9m1wmn465hvpxs95wmn7nw98c2"; }; buildInputs = [ Xaw3d ghostscriptX ]; postConfigure = [ "sed 's|\\|${ghostscriptX}/bin/gs|g' -i src/*.am src/*.ad" ]; - inherit ghostscriptX; + doCheck = true; meta = { - homepage = http://wwwthep.physik.uni-mainz.de/~plass/gv; + homepage = http://www.gnu.org/software/gv/; + description = "GNU gv, a PostScript/PDF document viewer"; + license = "GPLv2+"; }; }