2019-06-16 20:59:06 +01:00
|
|
|
{ stdenv, fetchurl, intltool, pkgconfig, 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";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
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"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-02 22:50: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;
|
|
|
|
maintainers = with maintainers; [ astsmtl antono lethalman ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|