mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
2bb3a9da24
This is a mostly cosmetical commit, in the sense it doesn't change the contents of any package, but reorganizes the overall Nixpkgs expressions. Terminal emulators are an ubiquitous tool for any Unix user; even the beginners are routinely familiarized to it. And, manifestly, there are many implementations of terminal emulators out there, from those traditionally made in C and C++ to those written in Haskell and Go. Terminal emulators deserve more highlight. This commit does that by creating a category for them.
41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{ 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 = with stdenv.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;
|
|
};
|
|
}
|