6ae7ad3cc5
GitOrigin-RevId: a322b32e9d74fb476944ff6cfb55833dc69cfaaa
58 lines
1 KiB
Nix
58 lines
1 KiB
Nix
{ stdenv
|
|
, fetchurl
|
|
, pkgconfig
|
|
, libxml2
|
|
, glib
|
|
, gtk3
|
|
, enchant2
|
|
, icu
|
|
, vala
|
|
, gobject-introspection
|
|
, gnome3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gspell";
|
|
version = "1.9.1";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
outputBin = "dev";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "1pdb4gbjrs8mk6r0ipw5vxyvzav1wvkjq46kiq53r3nyznfpdfyw";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
vala
|
|
gobject-introspection
|
|
libxml2
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk3
|
|
icu
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
# required for pkgconfig
|
|
enchant2
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "none";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A spell-checking library for GTK applications";
|
|
homepage = "https://wiki.gnome.org/Projects/gspell";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = teams.gnome.members;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|