GNU gv 3.6.4.

svn path=/nixpkgs/trunk/; revision=11946
This commit is contained in:
Ludovic Courtès 2008-06-01 16:51:03 +00:00
parent 9768f41783
commit 8b83b37ec5

View File

@ -1,20 +1,22 @@
{ stdenv, fetchurl, Xaw3d, ghostscriptX }: { stdenv, fetchurl, Xaw3d, ghostscriptX }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "gv-3.6.1"; name = "gv-3.6.4";
src = fetchurl { src = fetchurl {
url = http://ftp.gnu.org/gnu/gv/gv-3.6.3.tar.gz; url = "mirror://gnu/gv/${name}.tar.gz";
sha256 = "9486c25675719e986cbd77b48204025e825c46258b6750deeb64b3940685a033"; sha256 = "09v87h0fmpg7wid6b7wwcbl28x9m1wmn465hvpxs95wmn7nw98c2";
}; };
buildInputs = [ Xaw3d ghostscriptX ]; buildInputs = [ Xaw3d ghostscriptX ];
postConfigure = [ "sed 's|\\<gs\\>|${ghostscriptX}/bin/gs|g' -i src/*.am src/*.ad" ]; postConfigure = [ "sed 's|\\<gs\\>|${ghostscriptX}/bin/gs|g' -i src/*.am src/*.ad" ];
inherit ghostscriptX; doCheck = true;
meta = { 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+";
}; };
} }