gnome3.gnome-clocks: fix build

This commit is contained in:
Jan Tojnar 2018-03-14 06:15:34 +01:00
parent a0d41635ee
commit 31293136fa
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl { stdenv, fetchurl
, meson, ninja, gettext, pkgconfig, wrapGAppsHook, itstool, desktop-file-utils , meson, ninja, gettext, pkgconfig, wrapGAppsHook, itstool, desktop-file-utils
, vala, gtk3, glib, gsound , vala, gobjectIntrospection, libxml2, gtk3, glib, gsound
, gnome3, gdk_pixbuf, geoclue2, libgweather }: , gnome3, gdk_pixbuf, geoclue2, libgweather }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -13,21 +13,23 @@ stdenv.mkDerivation rec {
}; };
passthru = { passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-clocks"; attrPath = "gnome3.gnome-clocks"; }; updateScript = gnome3.updateScript {
packageName = "gnome-clocks";
attrPath = "gnome3.gnome-clocks";
};
}; };
doCheck = true; doCheck = true;
nativeBuildInputs = [ nativeBuildInputs = [
vala meson ninja pkgconfig gettext itstool wrapGAppsHook desktop-file-utils vala meson ninja pkgconfig gettext itstool wrapGAppsHook desktop-file-utils libxml2
gobjectIntrospection # for finding vapi files
]; ];
buildInputs = [ buildInputs = [
gtk3 glib gnome3.gsettings-desktop-schemas gdk_pixbuf gnome3.defaultIconTheme gtk3 glib gnome3.gsettings-desktop-schemas gdk_pixbuf gnome3.defaultIconTheme
gnome3.gnome-desktop gnome3.geocode-glib geoclue2 libgweather gsound gnome3.gnome-desktop gnome3.geocode-glib geoclue2 libgweather gsound
]; ];
prePatch = "patchShebangs build-aux/";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Clocks; homepage = https://wiki.gnome.org/Apps/Clocks;
description = "Clock application designed for GNOME 3"; description = "Clock application designed for GNOME 3";