gnome3.gnome-weather: fix build

This commit is contained in:
Jan Tojnar 2018-03-14 21:53:34 +01:00
parent 08c023ce61
commit 6c66e9dd3c
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook, gjs
, libgweather, intltool, itstool, geoclue2 }:
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook, gjs, gobjectIntrospection
, libgweather, intltool, itstool, geoclue2, gnome-desktop }:
stdenv.mkDerivation rec {
name = "gnome-weather-${version}";
@ -10,13 +10,9 @@ stdenv.mkDerivation rec {
sha256 = "965cc0d1b4d4e53c06d494db96f0b124d232af5c0e731ca900edd10f77a74c78";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-weather"; attrPath = "gnome3.gnome-weather"; };
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig intltool itstool wrapGAppsHook ];
buildInputs = [
gtk3 wrapGAppsHook gjs intltool itstool
gtk3 gjs gobjectIntrospection gnome-desktop
libgweather gnome3.defaultIconTheme geoclue2 gnome3.gsettings-desktop-schemas
];
@ -30,6 +26,13 @@ stdenv.mkDerivation rec {
"Exec=$out/bin/gnome-weather"
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = "gnome-weather";
attrPath = "gnome3.gnome-weather";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Weather;
description = "Access current weather conditions and forecasts";