nixpkgs/pkgs/development/libraries/gspell/default.nix

36 lines
1007 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, libxml2, glib, gtk3, enchant2, isocodes, vala, gobject-introspection, gnome3 }:
2018-03-14 13:58:39 +00:00
let
pname = "gspell";
version = "1.8.4";
2018-03-14 13:58:39 +00:00
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
outputs = [ "out" "dev" ];
outputBin = "dev";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1d23pl9956dkpy52pbndp0vrba0y030msh1issdl84z82skickfg";
};
2018-03-14 13:58:39 +00:00
propagatedBuildInputs = [ enchant2 ]; # required for pkgconfig
nativeBuildInputs = [ pkgconfig vala gobject-introspection libxml2 ];
2017-12-05 23:31:14 +00:00
buildInputs = [ glib gtk3 isocodes ];
2018-03-14 13:58:39 +00:00
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";
2018-02-25 20:24:59 +00:00
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}