mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
e00feaaad1
svn path=/nixpkgs/trunk/; revision=9122
16 lines
405 B
Nix
16 lines
405 B
Nix
{ 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;
|
|
}
|