2018-02-28 17:47:24 -08:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, gtk3, enchant, isocodes, vala, gobjectIntrospection, gnome3 }:
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 12:07:20 -08:00
|
|
|
name = "gspell-${version}";
|
2018-03-12 18:03:18 -07:00
|
|
|
version = "1.8.0";
|
2018-02-25 12:07:20 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gspell/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-03-12 18:03:18 -07:00
|
|
|
sha256 = "0ickabxngl567lv1jax4fasr5brq29hg04ymaay47pjfp32w4zqv";
|
2018-02-25 12:07:20 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "gspell"; attrPath = "gnome3.gspell"; };
|
|
|
|
};
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2017-06-25 09:59:23 -07:00
|
|
|
propagatedBuildInputs = [ enchant ]; # required for pkgconfig
|
|
|
|
|
2017-12-13 03:24:15 -08:00
|
|
|
nativeBuildInputs = [ pkgconfig vala gobjectIntrospection ];
|
2017-12-05 15:31:14 -08:00
|
|
|
buildInputs = [ glib gtk3 isocodes ];
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-02-25 12:24:59 -08:00
|
|
|
description = "A spell-checking library for GTK+ applications";
|
|
|
|
homepage = https://wiki.gnome.org/Projects/gspell;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = gnome3.maintainers;
|
2016-09-18 12:35:23 -07:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|