* added gv (ghostscript-with-X is a dependency)
svn path=/nixpkgs/trunk/; revision=9122
This commit is contained in:
parent
06a60d35d5
commit
e00feaaad1
16
pkgs/applications/misc/gv/default.nix
Normal file
16
pkgs/applications/misc/gv/default.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{ stdenv, fetchurl, Xaw3d, ghostscriptX }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "gv-3.6.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://ftp.gnu.org/gnu/gv/gv-3.6.3.tar.gz;
|
||||||
|
sha256 = "9486c25675719e986cbd77b48204025e825c46258b6750deeb64b3940685a033";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ Xaw3d ghostscriptX ];
|
||||||
|
|
||||||
|
postConfigure = [ "sed 's|\\<gs\\>|${ghostscriptX}/bin/gs|g' -i src/*.am src/*.ad" ];
|
||||||
|
|
||||||
|
inherit ghostscriptX;
|
||||||
|
}
|
@ -3078,6 +3078,10 @@ rec {
|
|||||||
inherit (gtkLibs) glib;
|
inherit (gtkLibs) glib;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gv = import ../applications/misc/gv {
|
||||||
|
inherit fetchurl stdenv Xaw3d ghostscriptX;
|
||||||
|
};
|
||||||
|
|
||||||
haskellMode = import ../applications/editors/emacs-modes/haskell {
|
haskellMode = import ../applications/editors/emacs-modes/haskell {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
@ -3643,6 +3647,11 @@ rec {
|
|||||||
x11Support = false;
|
x11Support = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ghostscriptX = lowPrio (appendToName "with-X" (import ../misc/ghostscript {
|
||||||
|
inherit fetchurl stdenv libjpeg libpng zlib x11;
|
||||||
|
x11Support = true;
|
||||||
|
}));
|
||||||
|
|
||||||
keynav = import ../tools/X11/keynav {
|
keynav = import ../tools/X11/keynav {
|
||||||
inherit stdenv fetchurl;
|
inherit stdenv fetchurl;
|
||||||
inherit (xlibs) libX11 xextproto libXtst
|
inherit (xlibs) libX11 xextproto libXtst
|
||||||
|
Loading…
x
Reference in New Issue
Block a user