2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, intltool, pkg-config, glib, gtk3, ncurses, gobject-introspection }:
|
2016-10-22 18:54:20 +01: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 18:54:20 +01:00
|
|
|
|
|
|
|
configureFlags = [ "--enable-introspection" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.out}/lib -lncurses"
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.gnome.org/";
|
2019-09-03 23:49:40 +01:00
|
|
|
description = "A library implementing a terminal emulator widget for GTK";
|
2016-10-22 18:54:20 +01:00
|
|
|
longDescription = ''
|
|
|
|
VTE is a library (libvte) implementing a terminal emulator widget for
|
2019-09-03 23:49:40 +01:00
|
|
|
GTK, and a minimal sample application (vte) using that. Vte is
|
2016-10-22 18:54:20 +01: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;
|
2021-05-07 14:35:21 +01:00
|
|
|
maintainers = with maintainers; [ astsmtl antono ];
|
2016-10-22 18:54:20 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|