Unverified Commit 26ee724a authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

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

parents a21443bf 7335bc5d
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
{ 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
  ];