nixpkgs/pkgs/development/libraries/gtkspell/3.nix
2018-07-07 12:57:12 +02:00

30 lines
889 B
Nix

{stdenv, fetchurl, gtk3, aspell, pkgconfig, enchant, isocodes, intltool, gobjectIntrospection, vala}:
stdenv.mkDerivation rec {
name = "gtkspell-${version}";
version = "3.0.9";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://sourceforge/gtkspell/gtkspell3-${version}.tar.xz";
sha256 = "09jdicmpipmj4v84gnkqwbmj4lh8v0i6pn967rb9jx4zg2ia9x54";
};
nativeBuildInputs = [ pkgconfig intltool gobjectIntrospection 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 ];
};
}