Merge pull request #209773 from lorenz/fix-librest

librest_1_0: pick up crash fix with libsoup 3
This commit is contained in:
Nick Cao 2023-01-17 10:31:12 +08:00 committed by GitHub
commit 2ff3858323
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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