1 { lib, stdenv, fetchurl, intltool, pkg-config, glib, gtk3, ncurses, gobject-introspection }:
3 stdenv.mkDerivation rec {
8 url = "mirror://gnome/sources/vte/${lib.versions.majorMinor version}/vte-${version}.tar.xz";
9 sha256 = "54e5b07be3c0f7b158302f54ee79d4de1cb002f4259b6642b79b1e0e314a959c";
12 nativeBuildInputs = [ pkg-config intltool ];
13 buildInputs = [ gobject-introspection glib gtk3 ncurses ];
15 configureFlags = [ "--enable-introspection" ];
17 enableParallelBuilding = true;
20 substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.out}/lib -lncurses"
24 homepage = "https://www.gnome.org/";
25 description = "A library implementing a terminal emulator widget for GTK";
27 VTE is a library (libvte) implementing a terminal emulator widget for
28 GTK, and a minimal sample application (vte) using that. Vte is
29 mainly used in gnome-terminal, but can also be used to embed a
30 console/terminal in games, editors, IDEs, etc. VTE supports Unicode and
31 character set conversion, as well as emulating any terminal known to
32 the system's terminfo database.
34 license = licenses.lgpl2;
35 maintainers = with maintainers; [ astsmtl antono ];
36 platforms = platforms.linux;