aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/vte
diff options
context:
space:
mode:
authorTor Hedin Brønner <torhedinbronner@gmail.com>2019-09-14 02:45:42 +0200
committerTor Hedin Brønner <torhedinbronner@gmail.com>2019-09-30 19:39:48 +0200
commit90b8ac0ff37205f868bd176583aa8a8a265134ec (patch)
tree62288679095c59c2aff6984550fac338eb929eda /pkgs/development/libraries/vte
parent12f9e847ff64ab77174d4ed622fa1cab259e4ea5 (diff)
vte-ng: fix build
vte now uses meson so don't bother overriding vte.
Diffstat (limited to 'pkgs/development/libraries/vte')
-rw-r--r--pkgs/development/libraries/vte/ng.nix44
1 files changed, 38 insertions, 6 deletions
diff --git a/pkgs/development/libraries/vte/ng.nix b/pkgs/development/libraries/vte/ng.nix
index c00be4c008f7..af4fe76840fe 100644
--- a/pkgs/development/libraries/vte/ng.nix
+++ b/pkgs/development/libraries/vte/ng.nix
@@ -1,6 +1,10 @@
-{ vte, fetchFromGitHub, fetchpatch, autoconf, automake, gtk-doc, gettext, libtool, gperf }:
+{ vte, fetchFromGitHub, fetchpatch, autoconf, automake, gtk-doc, gettext, libtool, gperf
+, stdenv, fetchurl, intltool, pkgconfig
+, gnome3, glib, gtk3, ncurses, gobject-introspection, vala, libxml2, gnutls
+, pcre2
+}:
-vte.overrideAttrs (oldAttrs: rec {
+stdenv.mkDerivation rec {
name = "vte-ng-${version}";
version = "0.54.2.a";
@@ -20,8 +24,36 @@ vte.overrideAttrs (oldAttrs: rec {
})
];
- preConfigure = oldAttrs.preConfigure + "; NOCONFIGURE=1 ./autogen.sh";
+ nativeBuildInputs = [
+ gtk-doc autoconf automake gettext libtool gperf
+ gobject-introspection intltool pkgconfig vala gperf libxml2
+ ];
+ buildInputs = [ glib gtk3 ncurses ];
+
+ propagatedBuildInputs = [
+ # Required by vte-2.91.pc.
+ gtk3
+ gnutls
+ pcre2
+ ];
- nativeBuildInputs = oldAttrs.nativeBuildInputs or []
- ++ [ gtk-doc autoconf automake gettext libtool gperf ];
-})
+ preConfigure = "patchShebangs .; NOCONFIGURE=1 ./autogen.sh";
+
+ configureFlags = [ "--enable-introspection" "--disable-Bsymbolic" ];
+
+ meta = with stdenv.lib; {
+ homepage = https://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 = licenses.lgpl2;
+ maintainers = with maintainers; [ astsmtl antono lethalman ];
+ platforms = platforms.unix;
+ };
+}