2010-02-20 20:24:52 +01:00
|
|
|
{ stdenv, fetchurl, intltool, pkgconfig, glib, gtk, ncurses,
|
|
|
|
pythonSupport ? false, python}:
|
|
|
|
stdenv.mkDerivation rec {
|
2010-08-05 17:47:15 +02:00
|
|
|
name = "vte-0.25.1";
|
2010-02-20 20:24:52 +01:00
|
|
|
src = fetchurl {
|
2010-08-05 17:47:15 +02:00
|
|
|
url = "http://ftp.gnome.org/pub/gnome/sources/vte/0.25/${name}.tar.bz2";
|
|
|
|
sha256 = "105f5ifyg09nh5p6fw2w7c0n9wd8vw9cvwlh6zg49ibsar893qi5";
|
2010-02-20 20:24:52 +01:00
|
|
|
};
|
|
|
|
buildInputs = [ intltool pkgconfig glib gtk ncurses ] ++
|
|
|
|
stdenv.lib.optional pythonSupport python;
|
|
|
|
configureFlags = ''
|
|
|
|
${if pythonSupport then "--enable-python" else "--disable-python"}
|
|
|
|
'';
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.gnome.org/;
|
|
|
|
description = "A library implementing a terminal emulator widget for GTK+";
|
|
|
|
longDescription = ''
|
|
|
|
VTE is a library (libvte) implementing a terminal emulator widget for
|
|
|
|
GTK+, and a minimal sample application (vte) using that. Vte is
|
|
|
|
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 = "LGPLv2";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|