gnome3.gspell: fix build
This commit is contained in:
parent
4f338f0eee
commit
3d2db221f7
@ -1,23 +1,31 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, gtk3, enchant, isocodes, vala, gobjectIntrospection, gnome3 }:
|
{ stdenv, fetchurl, pkgconfig, libxml2, glib, gtk3, enchant2, isocodes, vala, gobjectIntrospection, gnome3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
name = "gspell-${version}";
|
pname = "gspell";
|
||||||
version = "1.8.0";
|
version = "1.8.0";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
outputBin = "dev";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gspell/${gnome3.versionBranch version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "0ickabxngl567lv1jax4fasr5brq29hg04ymaay47pjfp32w4zqv";
|
sha256 = "0ickabxngl567lv1jax4fasr5brq29hg04ymaay47pjfp32w4zqv";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
propagatedBuildInputs = [ enchant2 ]; # required for pkgconfig
|
||||||
updateScript = gnome3.updateScript { packageName = "gspell"; attrPath = "gnome3.gspell"; };
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ enchant ]; # required for pkgconfig
|
nativeBuildInputs = [ pkgconfig vala gobjectIntrospection libxml2 ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig vala gobjectIntrospection ];
|
|
||||||
buildInputs = [ glib gtk3 isocodes ];
|
buildInputs = [ glib gtk3 isocodes ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "gnome3.${pname}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A spell-checking library for GTK+ applications";
|
description = "A spell-checking library for GTK+ applications";
|
||||||
homepage = https://wiki.gnome.org/Projects/gspell;
|
homepage = https://wiki.gnome.org/Projects/gspell;
|
||||||
|
Loading…
Reference in New Issue
Block a user