14 , 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 = "tOmTvYJ+TOtqdwsbXolQ/OO+nIsrDL6yL9+ZKAjdITk=";
31 # Extracted from: https://github.com/Homebrew/homebrew-core/blob/2a27fb86b08afc7ae6dff79cf64aafb8ecc93275/Formula/gspell.rb#L125-L149
32 # Dropped the GTK_MAC_* changes since gtk-mac-integration is not needed since 1.12.1
33 ./0001-Darwin-build-fix.patch
49 vala # for share/vala/Makefile.vapigen (PKG_CONFIG_VAPIGEN_VAPIGEN)
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"
60 "PKG_CONFIG_VAPIGEN_VAPIGEN=${lib.getBin buildPackages.vala}/bin/vapigen"
61 "--enable-introspection=yes"
66 updateScript = gnome.updateScript {
68 versionPolicy = "none";
73 description = "A spell-checking library for GTK applications";
74 homepage = "https://wiki.gnome.org/Projects/gspell";
75 license = licenses.lgpl21Plus;
76 maintainers = teams.gnome.members;
77 platforms = platforms.unix;