diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-28 15:35:01 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-07-28 15:35:01 +0000 |
commit | 749b8607ca3a6621d1aa37384c85e72369c64741 (patch) | |
tree | cc69ff74bd882a90f0747416deff9e989023a351 /pkgs/applications/misc/xterm/default.nix | |
parent | 27fe0c57f3f8ced50ac302d2d337cca454ed0efa (diff) | |
download | nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.tar nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.tar.gz nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.tar.bz2 nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.tar.lz nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.tar.xz nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.tar.zst nixpkgs-749b8607ca3a6621d1aa37384c85e72369c64741.zip |
* More cleanup.
svn path=/nixpkgs/trunk/; revision=22795
Diffstat (limited to 'pkgs/applications/misc/xterm/default.nix')
-rw-r--r-- | pkgs/applications/misc/xterm/default.nix | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/pkgs/applications/misc/xterm/default.nix b/pkgs/applications/misc/xterm/default.nix index 9f6a8a59e72..55d6a9c16b0 100644 --- a/pkgs/applications/misc/xterm/default.nix +++ b/pkgs/applications/misc/xterm/default.nix @@ -1,16 +1,24 @@ -args: with args; +{ stdenv, fetchurl, xorg, ncurses, freetype, pkgconfig }: stdenv.mkDerivation rec { name = "xterm-231"; + src = fetchurl { url = "ftp://invisible-island.net/xterm/${name}.tgz"; sha256 = "0qlz5nkdqkahdg9kbd1ni96n69srj1pd9yggwrw3z0kghaajb2sr"; }; - buildInputs = [libXaw xproto libXt libXext libX11 libSM libICE ncurses - freetype pkgconfig libXft luit]; - configureFlags = "--enable-wide-chars --enable-256-color - --enable-load-vt-fonts --enable-i18n --enable-doublechars --enable-luit - --enable-mini-luit --with-tty-group=tty"; + + buildInputs = + [ xorg.libXaw xorg.xproto xorg.libXt xorg.libXext xorg.libX11 xorg.libSM xorg.libICE + ncurses freetype pkgconfig xorg.libXft xorg.luit + ]; + + configureFlags = + '' + --enable-wide-chars --enable-256-color + --enable-load-vt-fonts --enable-i18n --enable-doublechars --enable-luit + --enable-mini-luit --with-tty-group=tty + ''; # Hack to get xterm built with the feature of releasing a possible setgid of 'utmp', # decided by the sysadmin to allow the xterm reporting to /var/run/utmp |