depot/third_party/nixpkgs/pkgs/applications/terminal-emulators/mrxvt/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

40 lines
1.1 KiB
Nix

{ lib, stdenv, fetchurl, libX11, libXft, libXi, xorgproto, libSM, libICE
, freetype, pkg-config, which }:
stdenv.mkDerivation {
name = "mrxvt-0.5.4";
buildInputs =
[ libX11 libXft libXi xorgproto libSM libICE freetype pkg-config 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 = with lib; {
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 = licenses.gpl2;
platforms = platforms.linux;
};
}