summary refs log tree commit diff
path: root/pkgs/applications/misc/rxvt
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@gmail.com>2016-04-10 19:59:22 -0300
committerAndersonTorres <torres.anderson.85@gmail.com>2016-04-10 20:00:36 -0300
commitf493fd06b51cb89beb200dfc08f5fb1264da5b9c (patch)
tree6e56af5a0c1919a3513a2821ad0d02f4ede9c931 /pkgs/applications/misc/rxvt
parent3ef785eaa6676b2fe2de9dd46eb734f07a7abc99 (diff)
downloadnixlib-f493fd06b51cb89beb200dfc08f5fb1264da5b9c.tar
nixlib-f493fd06b51cb89beb200dfc08f5fb1264da5b9c.tar.gz
nixlib-f493fd06b51cb89beb200dfc08f5fb1264da5b9c.tar.bz2
nixlib-f493fd06b51cb89beb200dfc08f5fb1264da5b9c.tar.lz
nixlib-f493fd06b51cb89beb200dfc08f5fb1264da5b9c.tar.xz
nixlib-f493fd06b51cb89beb200dfc08f5fb1264da5b9c.tar.zst
nixlib-f493fd06b51cb89beb200dfc08f5fb1264da5b9c.zip
rxvt: 2.6.4 -> 2.7.10
Diffstat (limited to 'pkgs/applications/misc/rxvt')
-rw-r--r--pkgs/applications/misc/rxvt/default.nix38
1 files changed, 29 insertions, 9 deletions
diff --git a/pkgs/applications/misc/rxvt/default.nix b/pkgs/applications/misc/rxvt/default.nix
index c3b5fc861a85..e8914b75b8a5 100644
--- a/pkgs/applications/misc/rxvt/default.nix
+++ b/pkgs/applications/misc/rxvt/default.nix
@@ -1,18 +1,38 @@
-{ stdenv, fetchurl, libX11, libXt }:
+{ stdenv, fetchurl
+, pkgconfig, libtool
+, libX11, libXt, libXpm }:
 
-stdenv.mkDerivation {
-  name = "rxvt-2.6.4";
+stdenv.mkDerivation rec {
+  name = "rxvt-${version}";
+  version = "2.7.10";
 
   src = fetchurl {
-    url = mirror://sourceforge/rxvt/rxvt-2.6.4.tar.gz;
-    sha256 = "0hi29whjv8v11nkjbq1i6ms411v6csykghmlpkmayfjn9nxr02xg";
+    url = "mirror://sourceforge/rxvt/${name}.tar.gz";
+    sha256 = "0jfl71gz3k7zh3kxdb8lxi06kajjnx7bq1rxjgk680l209jxask1";
   };
 
-  buildInputs = [ libX11 libXt ];
+  buildInputs = [ pkgconfig libtool libX11 libXt libXpm ];
 
-  meta = { 
+  configurePhase = ''
+    LIBTOOL=${libtool}/bin/libtool ./configure --prefix=$out --enable-everything --enable-smart-resize --enable-256-color
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = http://rxvt.sourceforge.net/;
     description = "Colour vt102 terminal emulator with less features and lower memory consumption";
-    homepage = http://www.rxvt.org/;
-    license = "GPL";
+    longDescription = ''
+      rxvt (acronym for our extended virtual terminal) is a terminal
+      emulator for the X Window System, originally written by Rob Nation
+      as an extended version of the older xvt terminal by John Bovey of
+      University of Kent. Mark Olesen extensively modified it later and
+      took over maintenance for several years.
+
+      rxvt is intended to be a slimmed-down alternate for xterm,
+      omitting some of its little-used features, like Tektronix 4014
+      emulation and toolkit-style configurability.
+    '';
+    maintainers = with maintainers; [ AndersonTorres ];
+    license = licenses.gpl2;
+    platforms = platforms.linux;
   };
 }