2007-08-14 16:09:58 +02:00
|
|
|
{ stdenv, fetchurl, Xaw3d, ghostscriptX }:
|
|
|
|
|
2008-06-01 18:51:03 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2008-07-05 19:00:33 +02:00
|
|
|
name = "gv-3.6.5";
|
2007-08-14 16:09:58 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-06-01 18:51:03 +02:00
|
|
|
url = "mirror://gnu/gv/${name}.tar.gz";
|
2008-07-05 19:00:33 +02:00
|
|
|
sha256 = "0wxxq695psb57n3kaj6swlczkwf9p79zdmn1dxrj4isyyr0gxm7d";
|
2007-08-14 16:09:58 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ Xaw3d ghostscriptX ];
|
|
|
|
|
|
|
|
postConfigure = [ "sed 's|\\<gs\\>|${ghostscriptX}/bin/gs|g' -i src/*.am src/*.ad" ];
|
|
|
|
|
2008-06-01 18:51:03 +02:00
|
|
|
doCheck = true;
|
2008-01-30 20:49:42 +01:00
|
|
|
|
|
|
|
meta = {
|
2008-06-01 18:51:03 +02:00
|
|
|
homepage = http://www.gnu.org/software/gv/;
|
|
|
|
description = "GNU gv, a PostScript/PDF document viewer";
|
|
|
|
license = "GPLv2+";
|
2008-01-30 20:49:42 +01:00
|
|
|
};
|
2007-08-14 16:09:58 +02:00
|
|
|
}
|