13 , gobject-introspection
18 stdenv.mkDerivation rec {
22 outputs = [ "out" "dev" ];
26 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
27 sha256 = "QNKFDxu26HdSRvoeOUOLNsqvvbraHSihn6HKB+H/gq0=";
31 # Extracted from: https://github.com/Homebrew/homebrew-core/blob/2a27fb86b08afc7ae6dff79cf64aafb8ecc93275/Formula/gspell.rb#L125-L149
32 ./0001-Darwin-build-fix.patch
48 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
52 propagatedBuildInputs = [
53 # required for pkg-config
58 "GLIB_COMPILE_RESOURCES=${lib.getDev buildPackages.glib}/bin/glib-compile-resources"
59 "GLIB_MKENUMS=${lib.getDev buildPackages.glib}/bin/glib-mkenums"
63 updateScript = gnome.updateScript {
65 versionPolicy = "none";
70 description = "A spell-checking library for GTK applications";
71 homepage = "https://wiki.gnome.org/Projects/gspell";
72 license = licenses.lgpl21Plus;
73 maintainers = teams.gnome.members;
74 platforms = platforms.unix;