mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
libhttpseverywhere: fix build with meson 0.60
Adds patch from https://gitlab.gnome.org/GNOME/libhttpseverywhere/-/merge_requests/1
This commit is contained in:
parent
9ab8b1400c
commit
7d97b7dcf5
@ -15,12 +15,17 @@ in stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ vala gobject-introspection meson ninja pkg-config ];
|
nativeBuildInputs = [ vala gobject-introspection meson ninja pkg-config ];
|
||||||
buildInputs = [ glib libgee json-glib libsoup libarchive ];
|
buildInputs = [ glib libgee json-glib libsoup libarchive ];
|
||||||
|
|
||||||
# Fixes build with vala >=0.42
|
|
||||||
patches = [
|
patches = [
|
||||||
|
# Fixes build with vala >=0.42
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://gitlab.gnome.org/GNOME/libhttpseverywhere/commit/6da08ef1ade9ea267cecf14dd5cb2c3e6e5e50cb.patch";
|
url = "https://gitlab.gnome.org/GNOME/libhttpseverywhere/commit/6da08ef1ade9ea267cecf14dd5cb2c3e6e5e50cb.patch";
|
||||||
sha256 = "1nwjlh8iqgjayccwdh0fbpq2g1h8bg1k1g9i324f2bhhvyhmpq8f";
|
sha256 = "1nwjlh8iqgjayccwdh0fbpq2g1h8bg1k1g9i324f2bhhvyhmpq8f";
|
||||||
})
|
})
|
||||||
|
# fix build with meson 0.60
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.gnome.org/GNOME/libhttpseverywhere/-/commit/4c38b2ca25802c464f3204a62815201d8cf549fd.patch";
|
||||||
|
sha256 = "sha256-1+fmR0bpvJ9ISN2Hr+BTIQz+Bf6VfY1RdVZ/OohUlWU=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags = [ "-Denable_valadoc=true" ];
|
mesonFlags = [ "-Denable_valadoc=true" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user