summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/misc/gspell/default.nix
blob: 5d2dc08e7e359edad1bbf588f2a066060ea697fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchurl, pkgconfig, glib, gtk3, enchant, isocodes, vala, gobjectIntrospection, gnome3 }:

stdenv.mkDerivation rec {
  name = "gspell-${version}";
  version = "1.6.1";

  src = fetchurl {
    url = "mirror://gnome/sources/gspell/${gnome3.versionBranch version}/${name}.tar.xz";
    sha256 = "f4d329348775374eec18158f8dcbbacf76f85be5ce002a92d93054ece70ec4de";
  };

  passthru = {
    updateScript = gnome3.updateScript { packageName = "gspell"; attrPath = "gnome3.gspell"; };
  };

  propagatedBuildInputs = [ enchant ]; # required for pkgconfig

  nativeBuildInputs = [ pkgconfig vala gobjectIntrospection ];
  buildInputs = [ glib gtk3 isocodes ];

  meta = with stdenv.lib; {
    description = "A spell-checking library for GTK+ applications";
    homepage = https://wiki.gnome.org/Projects/gspell;
    license = licenses.lgpl21Plus;
    maintainers = gnome3.maintainers;
    platforms = platforms.linux;
  };
}