summary refs log tree commit diff
path: root/pkgs/applications/misc/rxvt/default.nix
blob: acdd21a1c219444a7b9a0df993d7f8c056653088 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ stdenv, fetchurl
, pkgconfig, libtool
, libX11, libXt, libXpm }:

stdenv.mkDerivation rec {
  pname = "rxvt";
  version = "2.7.10";

  src = fetchurl {
    url = "mirror://sourceforge/rxvt/${pname}-${version}.tar.gz";
    sha256 = "0jfl71gz3k7zh3kxdb8lxi06kajjnx7bq1rxjgk680l209jxask1";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libtool libX11 libXt libXpm ];

  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";
    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;
  };
}