diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/gtkspell')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/gtkspell/3.nix | 30 | ||||
-rw-r--r-- | nixpkgs/pkgs/development/libraries/gtkspell/default.nix | 20 |
2 files changed, 50 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..6d4288376800 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/gtkspell/3.nix @@ -0,0 +1,30 @@ +{stdenv, fetchurl, gtk3, aspell, pkgconfig, enchant2, isocodes, intltool, gobject-introspection, vala}: + +stdenv.mkDerivation rec { + name = "gtkspell-${version}"; + 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 enchant2 isocodes ]; + propagatedBuildInputs = [ enchant2 ]; + + 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 ]; + }; +} diff --git a/nixpkgs/pkgs/development/libraries/gtkspell/default.nix b/nixpkgs/pkgs/development/libraries/gtkspell/default.nix new file mode 100644 index 000000000000..14676be0dcb9 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/gtkspell/default.nix @@ -0,0 +1,20 @@ +{stdenv, fetchurl, gtk2, aspell, pkgconfig, enchant, intltool}: + +stdenv.mkDerivation { + name = "gtkspell-2.0.16"; + + src = fetchurl { + url = mirror://sourceforge/gtkspell/gtkspell-2.0.16.tar.gz; + sha256 = "00hdv28bp72kg1mq2jdz1sdw2b8mb9iclsp7jdqwpck705bdriwg"; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [aspell gtk2 enchant intltool]; + + meta = with stdenv.lib; { + description = "Word-processor-style highlighting and replacement of misspelled words"; + homepage = http://gtkspell.sourceforge.net; + platforms = platforms.unix; + license = licenses.gpl2; + }; +} |