vte: 0.78.0 -> 0.78.1, fix darwin build
This commit is contained in:
parent
17915e169a
commit
bdf044013a
@ -72,6 +72,7 @@ stdenv.mkDerivation rec {
|
||||
rev = "3c8f66be867aca6656e4109ce880b6ea7431b895";
|
||||
hash = "sha256-vz9ircmPy2Q4fxNnjurkgJtuTSS49rBq/m61p1B43eU=";
|
||||
};
|
||||
patches = lib.optional (old ? patches) (lib.head old.patches);
|
||||
postPatch = (old.postPatch or "") + ''
|
||||
patchShebangs src/box_drawing_generate.sh
|
||||
'';
|
||||
|
@ -26,13 +26,14 @@
|
||||
, icu
|
||||
, systemd
|
||||
, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd
|
||||
, fast-float
|
||||
, nixosTests
|
||||
, blackbox-terminal
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "vte";
|
||||
version = "0.78.0";
|
||||
version = "0.78.1";
|
||||
|
||||
outputs = [ "out" "dev" ]
|
||||
++ lib.optional (gtkVersion != null) "devdoc";
|
||||
@ -42,7 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "GNOME";
|
||||
repo = "vte";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-Ql4q30Q4OEyH63SMbpMVyT/ZySeH/5b+5vo+Xv2HGdQ=";
|
||||
hash = "sha256-dVCvf4eTIJlrSzG6xLdKU47N9uAtHDwRrGkWtSmqbEU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -54,6 +55,23 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
url = "https://git.alpinelinux.org/aports/plain/community/vte3/fix-W_EXITCODE.patch?id=4d35c076ce77bfac7655f60c4c3e4c86933ab7dd";
|
||||
hash = "sha256-FkVyhsM0mRUzZmS2Gh172oqwcfXv6PyD6IEgjBhy2uU=";
|
||||
})
|
||||
# build: Add fast_float dependency
|
||||
# https://gitlab.gnome.org/GNOME/vte/-/issues/2823
|
||||
(fetchpatch {
|
||||
name = "0003-build-Add-fast_float-dependency.patch";
|
||||
url = "https://gitlab.gnome.org/GNOME/vte/-/commit/f6095fca4d1baf950817e7010e6f1e7c313b9e2e.patch";
|
||||
hash = "sha256-EL9PPiI5pDJOXf4Ck4nkRte/jHx/QWbxkjDFRSsp+so=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "0003-widget-termprops-Use-fast_float.patch";
|
||||
url = "https://gitlab.gnome.org/GNOME/vte/-/commit/6c2761f51a0400772f443f12ea23a75576e195d3.patch";
|
||||
hash = "sha256-jjM9bhl8EhtylUIQ2nMSNX3ugnkZQP/2POvSUDW0LM0=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "0003-build-Use-correct-path-to-include-fast_float.h.patch";
|
||||
url = "https://gitlab.gnome.org/GNOME/vte/-/commit/d09330585e648b5c9991dffab4a06d1f127bf916.patch";
|
||||
hash = "sha256-YGVXt2VojljYgTcmahQ2YEZGEysyUSwk+snQfoipJ+E=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -77,6 +95,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pcre2
|
||||
lz4
|
||||
icu
|
||||
fast-float
|
||||
] ++ lib.optionals systemdSupport [
|
||||
systemd
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user