diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/gtkspell/3.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/gtkspell/3.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/gtkspell/3.nix b/nixpkgs/pkgs/development/libraries/gtkspell/3.nix new file mode 100644 index 000000000000..54b4b001d817 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/gtkspell/3.nix @@ -0,0 +1,30 @@ +{stdenv, fetchurl, gtk3, aspell, pkgconfig, enchant, isocodes, intltool, gobject-introspection, vala}: + +stdenv.mkDerivation rec { + pname = "gtkspell"; + version = "3.0.10"; + + outputs = [ "out" "dev" ]; + + src = fetchurl { + url = "mirror://sourceforge/gtkspell/gtkspell3-${version}.tar.xz"; + sha256 = "0cjp6xdcnzh6kka42w9g0w2ihqjlq8yl8hjm9wsfnixk6qwgch5h"; + }; + + nativeBuildInputs = [ pkgconfig intltool gobject-introspection vala ]; + buildInputs = [ aspell gtk3 enchant isocodes ]; + propagatedBuildInputs = [ enchant ]; + + configureFlags = [ + "--enable-introspection" + "--enable-vala" + ]; + + meta = with stdenv.lib; { + homepage = http://gtkspell.sourceforge.net/; + description = "Word-processor-style highlighting GtkTextView widget"; + license = licenses.gpl2Plus; + platforms = platforms.unix; + maintainers = with maintainers; [ fuuzetsu ]; + }; +} |