2018-03-01 02:47:24 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, gtk3, enchant, isocodes, vala, gobjectIntrospection, gnome3 }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 21:07:20 +01:00
|
|
|
name = "gspell-${version}";
|
2018-03-13 02:03:18 +01:00
|
|
|
version = "1.8.0";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gspell/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-03-13 02:03:18 +01:00
|
|
|
sha256 = "0ickabxngl567lv1jax4fasr5brq29hg04ymaay47pjfp32w4zqv";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "gspell"; attrPath = "gnome3.gspell"; };
|
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2017-06-25 18:59:23 +02:00
|
|
|
propagatedBuildInputs = [ enchant ]; # required for pkgconfig
|
|
|
|
|
2017-12-13 12:24:15 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig vala gobjectIntrospection ];
|
2017-12-06 00:31:14 +01:00
|
|
|
buildInputs = [ glib gtk3 isocodes ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-02-25 21:24:59 +01: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 21:35:23 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|