From 5b638a94a58f1be0b1bae0fe750b3e18562725ff Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Tue, 30 Jun 2009 21:45:15 +0000 Subject: [PATCH] make urxvt install its terminfo file, see longDescription svn path=/nixpkgs/trunk/; revision=16122 --- pkgs/applications/misc/rxvt_unicode/default.nix | 16 ++++++++++++---- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/rxvt_unicode/default.nix b/pkgs/applications/misc/rxvt_unicode/default.nix index 6dc6e30b8159..471f6cbcd55d 100644 --- a/pkgs/applications/misc/rxvt_unicode/default.nix +++ b/pkgs/applications/misc/rxvt_unicode/default.nix @@ -1,20 +1,28 @@ args: with args; stdenv.mkDerivation (rec { pname = "rxvt-unicode"; - version = "9.02"; + version = "9.06"; name = "${pname}-${version}"; src = fetchurl { url = "http://dist.schmorp.de/rxvt-unicode/Attic/${name}.tar.bz2"; - sha256 = "234b9a3e3f88c4984b1e909f8028638fc3b61d801d8afaa9cd08154b1a480a31"; + sha256 = "8ef9359c01059efd330626c6cd7b082be9bf10587f2b9fe84caa43a84aa576d1"; }; - buildInputs = [ libX11 libXt libXft ]; - configureFlags = "--disable-perl"; + buildInputs = [ libX11 libXt libXft ncurses /* required to build the terminfo file */ ]; + + preConfigure='' + configureFlags="--disable-perl"; + export TERMINFO=$out/share/terminfo # without this the terminfo won't be compiled by tic, see man tic + ''; meta = { description = "rxvt-unicode is a clone of the well known terminal emulator rxvt."; + longDescription = " + you should put this into your .bashrc + export TERMINFO=~/.nix-profile/share/terminfo + "; homepage = "http://software.schmorp.de/pkg/rxvt-unicode.html"; }; }) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 494a1789f089..34360bca7ff4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6906,7 +6906,7 @@ let # = urxvt rxvt_unicode = import ../applications/misc/rxvt_unicode { - inherit lib fetchurl stdenv perl; + inherit lib fetchurl stdenv perl ncurses; inherit (xlibs) libXt libX11 libXft; };