mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
4f0a7f0d40
svn path=/nixpkgs/trunk/; revision=12927
23 lines
524 B
Nix
23 lines
524 B
Nix
{ stdenv, fetchurl, Xaw3d, ghostscriptX }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gv-3.6.6";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/gv/${name}.tar.gz";
|
|
sha256 = "08xnjg5nimrksn2fl18589ncb26vaabbypmvay8hh8psjsks5683";
|
|
};
|
|
|
|
buildInputs = [ Xaw3d ghostscriptX ];
|
|
|
|
postConfigure = [ "sed 's|\\<gs\\>|${ghostscriptX}/bin/gs|g' -i src/*.am" ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = http://www.gnu.org/software/gv/;
|
|
description = "GNU gv, a PostScript/PDF document viewer";
|
|
license = "GPLv2+";
|
|
};
|
|
}
|