librest_1_0: pick up crash fix with libsoup 3

During librest's migration to libsoup 3 a bug was introduced which
causes the following assertion failure and subsequent abort when a
librest request could not be completed due to a network failure:

  Rest:ERROR:../rest/rest-proxy-call.c:628:finish_call: assertion failed: (payload)

This picks up a merge request which contains the fix.
This commit is contained in:
Lorenz Brun 2023-01-09 00:21:04 +01:00
parent efda292199
commit f35b1d038d

View File

@ -1,5 +1,6 @@
{ lib
, stdenv
, fetchpatch
, fetchurl
, meson
, ninja
@ -24,6 +25,18 @@ stdenv.mkDerivation rec {
sha256 = "kmalwQ7OOD4ZPft/+we1CcwfUVIauNrXavlu0UISwuM=";
};
patches = [
# Pick up MR 30 (https://gitlab.gnome.org/GNOME/librest/-/merge_requests/30) to fix GOA crashes with libsoup 3
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/librest/-/commit/fbad64abe28a96f591a30e3a5d3189c10172a414.patch";
hash = "sha256-r8+h84Y/AdM1IOMRcBVwDvfqapqOY8ZtRXdOIQvFR9w=";
})
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/librest/-/commit/8049048a0f7d52b3f4101c7123797fed099d4cc8.patch";
hash = "sha256-AMhHKzzOoTIlkRwN4KfUwdhxlqvtRgiVjKRfnG7KZwc=";
})
];
nativeBuildInputs = [
meson
ninja