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