Files
nixpkgs/pkgs/by-name/gs/gspell/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

77 lines
1.3 KiB
Nix

{
stdenv,
lib,
fetchurl,
docbook-xsl-nons,
glib,
gobject-introspection,
gtk-doc,
meson,
ninja,
pkg-config,
vala,
mesonEmulatorHook,
gtk3,
icu,
enchant2,
gnome,
}:
stdenv.mkDerivation rec {
pname = "gspell";
version = "1.14.0";
outputs = [
"out"
"dev"
"devdoc"
];
outputBin = "dev";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "ZOodjp7cHCW0WpIOgNr2dVnRhm/81/hDL+z+ptD+iJc=";
};
nativeBuildInputs = [
docbook-xsl-nons
glib # glib-mkenums
gobject-introspection
gtk-doc
meson
ninja
pkg-config
vala
]
++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
];
buildInputs = [
gtk3
icu
];
propagatedBuildInputs = [
# required for pkg-config
enchant2
];
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
meta = with lib; {
description = "Spell-checking library for GTK applications";
mainProgram = "gspell-app1";
homepage = "https://gitlab.gnome.org/GNOME/gspell";
license = licenses.lgpl21Plus;
teams = [ teams.gnome ];
platforms = platforms.unix;
};
}