nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 38 lines 1.4 kB view raw
1{ lib, stdenv, fetchurl, intltool, pkg-config, glib, gtk3, ncurses, gobject-introspection }: 2 3stdenv.mkDerivation rec { 4 pname = "vte"; 5 version = "0.36.3"; 6 7 src = fetchurl { 8 url = "mirror://gnome/sources/vte/${lib.versions.majorMinor version}/vte-${version}.tar.xz"; 9 sha256 = "54e5b07be3c0f7b158302f54ee79d4de1cb002f4259b6642b79b1e0e314a959c"; 10 }; 11 12 nativeBuildInputs = [ pkg-config ]; 13 buildInputs = [ gobject-introspection intltool glib gtk3 ncurses ]; 14 15 configureFlags = [ "--enable-introspection" ]; 16 17 enableParallelBuilding = true; 18 19 postInstall = '' 20 substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.out}/lib -lncurses" 21 ''; 22 23 meta = with lib; { 24 homepage = "https://www.gnome.org/"; 25 description = "A library implementing a terminal emulator widget for GTK"; 26 longDescription = '' 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. 33 ''; 34 license = licenses.lgpl2; 35 maintainers = with maintainers; [ astsmtl antono ]; 36 platforms = platforms.linux; 37 }; 38}