13 gobject-introspection,
19 gsettings-desktop-schemas,
22 stdenv.mkDerivation rec {
23 pname = "gnome-weather";
27 url = "mirror://gnome/sources/gnome-weather/${lib.versions.major version}/gnome-weather-${version}.tar.xz";
28 hash = "sha256-UV9YYjdN00bLyFqd3wMGstMnZXhQu2C2ycmGD86WIOY=";
49 gsettings-desktop-schemas
53 # The .service file is not wrapped with the correct environment
54 # so misses GIR files when started. By re-pointing from the gjs
55 # entry point to the wrapped binary we get back to a wrapped
57 substituteInPlace "data/org.gnome.Weather.service.in" \
58 --replace-fail "Exec=@DATA_DIR@/@APP_ID@" "Exec=gnome-weather"
60 chmod +x meson_post_install.py
61 patchShebangs meson_post_install.py
65 updateScript = gnome.updateScript { packageName = "gnome-weather"; };
69 homepage = "https://apps.gnome.org/Weather/";
70 description = "Access current weather conditions and forecasts";
71 mainProgram = "gnome-weather";
72 maintainers = teams.gnome.members;
73 license = licenses.gpl2Plus;
74 platforms = platforms.unix;