2021-01-19 06:50:56 +00:00
|
|
|
{ stdenv, fetchurl, intltool, pkg-config, glib, gtk3, ncurses, gobject-introspection }:
|
2016-10-22 17:54:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
versionMajor = "0.36";
|
|
|
|
versionMinor = "3";
|
|
|
|
moduleName = "vte";
|
|
|
|
|
|
|
|
name = "${moduleName}-${versionMajor}.${versionMinor}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz";
|
|
|
|
sha256 = "54e5b07be3c0f7b158302f54ee79d4de1cb002f4259b6642b79b1e0e314a959c";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2018-12-25 23:15:46 +00:00
|
|
|
buildInputs = [ gobject-introspection intltool glib gtk3 ncurses ];
|
2016-10-22 17:54:20 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--enable-introspection" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.out}/lib -lncurses"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.gnome.org/";
|
2019-09-03 22:49:40 +00:00
|
|
|
description = "A library implementing a terminal emulator widget for GTK";
|
2016-10-22 17:54:20 +00:00
|
|
|
longDescription = ''
|
|
|
|
VTE is a library (libvte) implementing a terminal emulator widget for
|
2019-09-03 22:49:40 +00:00
|
|
|
GTK, and a minimal sample application (vte) using that. Vte is
|
2016-10-22 17:54:20 +00:00
|
|
|
mainly used in gnome-terminal, but can also be used to embed a
|
|
|
|
console/terminal in games, editors, IDEs, etc. VTE supports Unicode and
|
|
|
|
character set conversion, as well as emulating any terminal known to
|
|
|
|
the system's terminfo database.
|
|
|
|
'';
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = with maintainers; [ astsmtl antono lethalman ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|