summary refs log tree commit diff
path: root/pkgs/applications/misc/mrxvt/default.nix
blob: a6efb19b5774a1a2eec2e6f003fe9227e9d0675c (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
40
{ stdenv, fetchurl, libX11, libXft, libXi, xorgproto, libSM, libICE
, freetype, pkgconfig, which }:

stdenv.mkDerivation {
  name = "mrxvt-0.5.4";

  buildInputs =
    [ libX11 libXft libXi xorgproto libSM libICE freetype pkgconfig which ];

  configureFlags = [
    "--with-x"
    "--enable-frills"
    "--enable-xft"
    "--enable-xim"
    # "--with-term=xterm"
    "--with-max-profiles=100"
    "--with-max-term=100"
    "--with-save-lines=10000"
  ];

  preConfigure = ''
    NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${freetype.dev}/include/freetype2";
  '';

  src = fetchurl {
    url = mirror://sourceforge/materm/mrxvt-0.5.4.tar.gz;
    sha256 = "1mqhmnlz32lvld9rc6c1hyz7gjw4anwf39yhbsjkikcgj1das0zl";
  };

  meta = { 
    description = "Lightweight multitabbed feature-rich X11 terminal emulator";
    longDescription = "
    	Multitabbed lightweight terminal emulator based on rxvt. 
	Supports transparency, backgroundimages, freetype fonts, ...
    ";
    homepage = https://sourceforge.net/projects/materm;
    license = "GPL";
    platforms = stdenv.lib.platforms.linux;
  };
}