diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-06-29 15:49:53 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2018-06-29 18:41:59 +0200 |
commit | eee65657831ddf0fca1c01e6ea2e6b6759ae80c4 (patch) | |
tree | 40308890c6dca67ffb865c4a3e85485ce609d6ed /pkgs/development/libraries/gspell | |
parent | 8e78a9a68fea58147541444e9cd57d7043be3ee7 (diff) | |
download | nixlib-eee65657831ddf0fca1c01e6ea2e6b6759ae80c4.tar nixlib-eee65657831ddf0fca1c01e6ea2e6b6759ae80c4.tar.gz nixlib-eee65657831ddf0fca1c01e6ea2e6b6759ae80c4.tar.bz2 nixlib-eee65657831ddf0fca1c01e6ea2e6b6759ae80c4.tar.lz nixlib-eee65657831ddf0fca1c01e6ea2e6b6759ae80c4.tar.xz nixlib-eee65657831ddf0fca1c01e6ea2e6b6759ae80c4.tar.zst nixlib-eee65657831ddf0fca1c01e6ea2e6b6759ae80c4.zip |
gspell: move to top-level
Diffstat (limited to 'pkgs/development/libraries/gspell')
-rw-r--r-- | pkgs/development/libraries/gspell/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gspell/default.nix b/pkgs/development/libraries/gspell/default.nix new file mode 100644 index 000000000000..42c5f88e7f3f --- /dev/null +++ b/pkgs/development/libraries/gspell/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchurl, pkgconfig, libxml2, glib, gtk3, enchant2, isocodes, vala, gobjectIntrospection, gnome3 }: + +let + pname = "gspell"; + version = "1.8.0"; +in stdenv.mkDerivation rec { + name = "${pname}-${version}"; + + outputs = [ "out" "dev" ]; + outputBin = "dev"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; + sha256 = "0ickabxngl567lv1jax4fasr5brq29hg04ymaay47pjfp32w4zqv"; + }; + + propagatedBuildInputs = [ enchant2 ]; # required for pkgconfig + + nativeBuildInputs = [ pkgconfig vala gobjectIntrospection libxml2 ]; + buildInputs = [ glib gtk3 isocodes ]; + + passthru = { + updateScript = gnome3.updateScript { + packageName = pname; + }; + }; + + 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; + }; +} |