nixpkgs/pkgs/desktops/gnome-3/misc/gspell/default.nix

37 lines
1 KiB
Nix
Raw Normal View History

2018-03-14 14:58:39 +01:00
{ stdenv, fetchurl, pkgconfig, libxml2, glib, gtk3, enchant2, isocodes, vala, gobjectIntrospection, gnome3 }:
2018-03-14 14:58:39 +01:00
let
pname = "gspell";
2018-03-13 02:03:18 +01:00
version = "1.8.0";
2018-03-14 14:58:39 +01:00
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
outputs = [ "out" "dev" ];
outputBin = "dev";
src = fetchurl {
2018-03-14 14:58:39 +01:00
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
2018-03-13 02:03:18 +01:00
sha256 = "0ickabxngl567lv1jax4fasr5brq29hg04ymaay47pjfp32w4zqv";
};
2018-03-14 14:58:39 +01:00
propagatedBuildInputs = [ enchant2 ]; # required for pkgconfig
2018-03-14 14:58:39 +01:00
nativeBuildInputs = [ pkgconfig vala gobjectIntrospection libxml2 ];
2017-12-06 00:31:14 +01:00
buildInputs = [ glib gtk3 isocodes ];
2018-03-14 14:58:39 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
2018-02-25 21:24:59 +01:00
description = "A spell-checking library for GTK+ applications";
homepage = https://wiki.gnome.org/Projects/gspell;
license = licenses.lgpl21Plus;
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}