vte: 0.62.2 → 0.64.0

This commit is contained in:
Jan Tojnar 2021-03-21 07:28:32 +00:00
parent ec3af2deae
commit 53ac5eb8cf
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -11,6 +11,7 @@
, gtk3
, gobject-introspection
, vala
, python3
, libxml2
, gnutls
, gperf
@ -24,15 +25,26 @@
stdenv.mkDerivation rec {
pname = "vte";
version = "0.62.2";
version = "0.64.0";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "sha256-sDALvPDALfWBKhCjy45P/3I7q5LAjJegqQwWfPVDr/A=";
sha256 = "sha256-wMYLjcNDFnQ3yG2YSwzxNN+GA0GA7XBRP2gwBq2j7EE=";
};
patches = [
# VTE needs a small patch to work with musl:
# https://gitlab.gnome.org/GNOME/vte/issues/72
# Taken from https://git.alpinelinux.org/aports/tree/community/vte3
(fetchpatch {
name = "0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch";
url = "https://git.alpinelinux.org/aports/plain/community/vte3/fix-W_EXITCODE.patch?id=4d35c076ce77bfac7655f60c4c3e4c86933ab7dd";
sha256 = "FkVyhsM0mRUzZmS2Gh172oqwcfXv6PyD6IEgjBhy2uU=";
})
];
nativeBuildInputs = [
gettext
gobject-introspection
@ -42,6 +54,7 @@ stdenv.mkDerivation rec {
ninja
pkg-config
vala
python3
];
buildInputs = [
@ -60,20 +73,11 @@ stdenv.mkDerivation rec {
pango
];
patches =
# VTE needs a small patch to work with musl:
# https://gitlab.gnome.org/GNOME/vte/issues/72
lib.optional
stdenv.hostPlatform.isMusl
(fetchpatch {
name = "0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch";
url = "https://gitlab.gnome.org/GNOME/vte/uploads/c334f767f5d605e0f30ecaa2a0e4d226/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch";
sha256 = "1ii9db9i5l3fy2alxz7bjfsgjs3lappnlx339dvxbi2141zknf5r";
});
postPatch = ''
patchShebangs perf/*
patchShebangs src/box_drawing_generate.sh
patchShebangs src/parser-seq.py
patchShebangs src/modes.py
'';
passthru = {
@ -94,7 +98,7 @@ stdenv.mkDerivation rec {
character set conversion, as well as emulating any terminal known to
the system's terminfo database.
'';
license = licenses.lgpl2;
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ astsmtl antono lethalman ] ++ teams.gnome.members;
platforms = platforms.unix;
};