desktops/gnome-2.28/desktop/vte: New nixpkg.

svn path=/nixpkgs/trunk/; revision=20142
This commit is contained in:
Alexander Tsamutali 2010-02-20 19:24:52 +00:00
parent c902a64fb7
commit 7a05d7ca38
2 changed files with 34 additions and 1 deletions

View file

@ -11,7 +11,6 @@ rec {
gnomeicontheme = gnome_icon_theme; gnomeicontheme = gnome_icon_theme;
# !!! Missing! Need to add these. # !!! Missing! Need to add these.
vte = throw "vte not implemented";
libgnomeprintui = throw "libgnomeprintui not implemented"; libgnomeprintui = throw "libgnomeprintui not implemented";
gtksourceview_24 = gtksourceview; gtksourceview_24 = gtksourceview;
@ -305,6 +304,11 @@ rec {
gnome_icon_theme = import ./desktop/gnome-icon-theme { gnome_icon_theme = import ./desktop/gnome-icon-theme {
inherit (pkgs) stdenv fetchurl pkgconfig intltool iconnamingutils; inherit (pkgs) stdenv fetchurl pkgconfig intltool iconnamingutils;
}; };
vte = import ./desktop/vte {
inherit (pkgs) stdenv fetchurl pkgconfig ncurses python;
inherit intltool glib gtk;
};
#### BINDINGS #### BINDINGS

View file

@ -0,0 +1,29 @@
{ stdenv, fetchurl, intltool, pkgconfig, glib, gtk, ncurses,
pythonSupport ? false, python}:
stdenv.mkDerivation rec {
name = "vte-0.22.5";
src = fetchurl {
url = "mirror://gnome/desktop/2.28/2.28.2/sources/${name}.tar.bz2";
sha256 = "1xmjlz79z3apxmq18d5qyliaky6xb1n2nxwvpzrdl4ky6hk73660";
};
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;
};
}