diff --git a/pkgs/by-name/di/dissent/package.nix b/pkgs/by-name/di/dissent/package.nix index 36708fb39215..ee344119bb3b 100644 --- a/pkgs/by-name/di/dissent/package.nix +++ b/pkgs/by-name/di/dissent/package.nix @@ -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 ];