From 0474b4f148e4ee9afbae652c79c4d29410955af0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 23 Mar 2009 15:42:14 +0000 Subject: [PATCH] GNU gv 3.6.7. svn path=/nixpkgs/trunk/; revision=14662 --- pkgs/applications/misc/gv/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/gv/default.nix b/pkgs/applications/misc/gv/default.nix index 109c3d8102f9..88f84cdd122e 100644 --- a/pkgs/applications/misc/gv/default.nix +++ b/pkgs/applications/misc/gv/default.nix @@ -1,16 +1,16 @@ { stdenv, fetchurl, Xaw3d, ghostscriptX }: stdenv.mkDerivation rec { - name = "gv-3.6.6"; + name = "gv-3.6.7"; src = fetchurl { url = "mirror://gnu/gv/${name}.tar.gz"; - sha256 = "08xnjg5nimrksn2fl18589ncb26vaabbypmvay8hh8psjsks5683"; + sha256 = "1cdkkxamsicpk0jdbrkjpxhcsrx0b82kqgrc4j407q2gc3qs8wgf"; }; buildInputs = [ Xaw3d ghostscriptX ]; - postConfigure = '' + patchPhase = '' sed 's|\|${ghostscriptX}/bin/gs|g' -i src/*.in sed 's|"gs"|"${ghostscriptX}/bin/gs"|g' -i src/*.c ''; @@ -20,6 +20,13 @@ stdenv.mkDerivation rec { meta = { homepage = http://www.gnu.org/software/gv/; description = "GNU gv, a PostScript/PDF document viewer"; + + longDescription = '' + GNU gv allows users to view and navigate through PostScript and + PDF documents on an X display by providing a graphical user + interface for the Ghostscript interpreter. + ''; + license = "GPLv3+"; }; }