dissent: fix build by pinning libspelling 0.2.1 (#353373)

This commit is contained in:
Weijia Wang
2024-11-04 19:35:02 +01:00
committed by GitHub
+17 -1
View File
@@ -1,4 +1,5 @@
{ buildGoModule
, fetchFromGitLab
, fetchFromGitHub
, gobject-introspection
, gst_all_1
@@ -12,6 +13,19 @@
, wrapGAppsHook4
}:
let
libspelling_2_1 = libspelling.overrideAttrs {
version = "0.2.1";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = "libspelling";
rev = "refs/tags/0.2.1";
hash = "sha256-0OGcwPGWtYYf0XmvzXEaQgebBOW/6JWcDuF4MlQjCZQ=";
};
};
in
buildGoModule rec {
pname = "dissent";
version = "0.0.30";
@@ -39,7 +53,9 @@ buildGoModule rec {
libadwaita
libcanberra-gtk3
sound-theme-freedesktop
libspelling
# gotk4-spelling fails to build with libspelling >= 0.3.0
# https://github.com/diamondburned/gotk4-spelling/issues/1
libspelling_2_1
gtksourceview5
];