diff options
Diffstat (limited to 'pkgs/desktops/gnome-2/desktop/vte/default.nix')
-rw-r--r-- | pkgs/desktops/gnome-2/desktop/vte/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome-2/desktop/vte/default.nix b/pkgs/desktops/gnome-2/desktop/vte/default.nix new file mode 100644 index 000000000000..c061a2684792 --- /dev/null +++ b/pkgs/desktops/gnome-2/desktop/vte/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchurl, intltool, pkgconfig, glib, gtk, ncurses +, pythonSupport ? false, python}: + +stdenv.mkDerivation rec { + name = "vte-0.28.0"; + + src = fetchurl { + url = "http://ftp.gnome.org/pub/gnome/sources/vte/0.28/${name}.tar.bz2"; + sha256 = "0blmblvjr35xajr0a07zcd58lk6x2hzympx17biw2mcym9kcarql"; + }; + + 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; + }; +} |