2018-12-02 12:41:15 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libxml2, glib, gtk3, enchant2, isocodes, vala, gobject-introspection, gnome3 }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-14 14:58:39 +01:00
|
|
|
let
|
|
|
|
pname = "gspell";
|
2018-06-29 15:57:10 +02:00
|
|
|
version = "1.8.1";
|
2018-03-14 14:58:39 +01:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
outputBin = "dev";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 02:12:11 +02:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-06-29 15:57:10 +02:00
|
|
|
sha256 = "1rdv873ixhwr15jwgc2z6k6y0hj353fqnwsy7zkh0c30qwiiv6l1";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2018-03-14 14:58:39 +01:00
|
|
|
propagatedBuildInputs = [ enchant2 ]; # required for pkgconfig
|
2017-06-25 18:59:23 +02:00
|
|
|
|
2018-12-02 12:41:15 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig vala gobject-introspection libxml2 ];
|
2017-12-06 00:31:14 +01:00
|
|
|
buildInputs = [ glib gtk3 isocodes ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-14 14:58:39 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
meta = with stdenv.lib; {
|
2019-09-04 00:49:40 +02:00
|
|
|
description = "A spell-checking library for GTK applications";
|
2018-02-25 21:24:59 +01:00
|
|
|
homepage = https://wiki.gnome.org/Projects/gspell;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = gnome3.maintainers;
|
2016-09-18 21:35:23 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|