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