nixpkgs/pkgs/development/libraries/gspell/default.nix
2019-09-30 19:39:47 +02:00

36 lines
1004 B
Nix

{ stdenv, fetchurl, pkgconfig, libxml2, glib, gtk3, enchant2, isocodes, vala, gobject-introspection, gnome3 }:
let
pname = "gspell";
version = "1.8.2";
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 = "1miybm1z5cl91i25l7mfqlxhv7j8yy8rcgi0s1bgbb2vm71rb4dv";
};
propagatedBuildInputs = [ enchant2 ]; # required for pkgconfig
nativeBuildInputs = [ pkgconfig vala gobject-introspection libxml2 ];
buildInputs = [ glib gtk3 isocodes ];
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;
license = licenses.lgpl21Plus;
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}