···11-{ stdenv, fetchurl, libX11, libXt }:
11+{ stdenv, fetchurl
22+, pkgconfig, libtool
33+, libX11, libXt, libXpm }:
2433-stdenv.mkDerivation {
44- name = "rxvt-2.6.4";
55+stdenv.mkDerivation rec {
66+ name = "rxvt-${version}";
77+ version = "2.7.10";
5869 src = fetchurl {
77- url = mirror://sourceforge/rxvt/rxvt-2.6.4.tar.gz;
88- sha256 = "0hi29whjv8v11nkjbq1i6ms411v6csykghmlpkmayfjn9nxr02xg";
1010+ url = "mirror://sourceforge/rxvt/${name}.tar.gz";
1111+ sha256 = "0jfl71gz3k7zh3kxdb8lxi06kajjnx7bq1rxjgk680l209jxask1";
912 };
10131111- buildInputs = [ libX11 libXt ];
1414+ buildInputs = [ pkgconfig libtool libX11 libXt libXpm ];
12151313- meta = {
1616+ configurePhase = ''
1717+ LIBTOOL=${libtool}/bin/libtool ./configure --prefix=$out --enable-everything --enable-smart-resize --enable-256-color
1818+ '';
1919+2020+ meta = with stdenv.lib; {
2121+ homepage = http://rxvt.sourceforge.net/;
1422 description = "Colour vt102 terminal emulator with less features and lower memory consumption";
1515- homepage = http://www.rxvt.org/;
1616- license = "GPL";
2323+ longDescription = ''
2424+ rxvt (acronym for our extended virtual terminal) is a terminal
2525+ emulator for the X Window System, originally written by Rob Nation
2626+ as an extended version of the older xvt terminal by John Bovey of
2727+ University of Kent. Mark Olesen extensively modified it later and
2828+ took over maintenance for several years.
2929+3030+ rxvt is intended to be a slimmed-down alternate for xterm,
3131+ omitting some of its little-used features, like Tektronix 4014
3232+ emulation and toolkit-style configurability.
3333+ '';
3434+ maintainers = with maintainers; [ AndersonTorres ];
3535+ license = licenses.gpl2;
3636+ platforms = platforms.linux;
1737 };
1838}