gnome3.gnome-chess: fix build

This commit is contained in:
Jan Tojnar 2018-03-14 02:02:59 +01:00
parent 820891f6b0
commit 3359dc7f9c
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
1 changed files with 15 additions and 10 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook { stdenv, fetchurl, meson, ninja, vala, pkgconfig, wrapGAppsHook, gobjectIntrospection
, intltool, itstool, librsvg, libxml2 }: , gettext, itstool, libxml2, gnome3, glib, gtk3, librsvg }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gnome-chess-${version}"; name = "gnome-chess-${version}";
@ -10,15 +10,20 @@ stdenv.mkDerivation rec {
sha256 = "1vxgb36njv4v3bgdpwxd89rvr6s6pkbh9d3xislxqry2yp4f03w0"; sha256 = "1vxgb36njv4v3bgdpwxd89rvr6s6pkbh9d3xislxqry2yp4f03w0";
}; };
passthru = { nativeBuildInputs = [ meson ninja vala pkgconfig gettext itstool libxml2 wrapGAppsHook gobjectIntrospection ];
updateScript = gnome3.updateScript { packageName = "gnome-chess"; attrPath = "gnome3.gnome-chess"; }; buildInputs = [ glib gtk3 librsvg gnome3.defaultIconTheme ];
};
nativeBuildInputs = [ pkgconfig ]; postPatch = ''
buildInputs = [ chmod +x meson_post_install.py
gtk3 wrapGAppsHook intltool itstool librsvg libxml2 patchShebangs meson_post_install.py
gnome3.defaultIconTheme '';
];
passthru = {
updateScript = gnome3.updateScript {
packageName = "gnome-chess";
attrPath = "gnome3.gnome-chess";
};
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Chess; homepage = https://wiki.gnome.org/Apps/Chess;