dissent: fix build by pinning libspelling 0.2.1

This commit is contained in:
aleksana 2024-11-03 21:18:17 +08:00
parent 85dfb8e12c
commit 7335bc5d6a

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
];