depot/third_party/nixpkgs/pkgs/development/libraries/gtkspell/3.nix

55 lines
929 B
Nix

{
lib,
stdenv,
fetchurl,
gtk3,
aspell,
pkg-config,
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 = [
pkg-config
intltool
gobject-introspection
vala
];
buildInputs = [
aspell
gtk3
enchant
isocodes
];
propagatedBuildInputs = [ enchant ];
configureFlags = [
"--enable-introspection"
"--enable-vala"
];
meta = with lib; {
homepage = "https://gtkspell.sourceforge.net/";
description = "Word-processor-style highlighting GtkTextView widget";
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ ];
};
}