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-FTgmcFzPZy4U8v5N/Hgvjom3xMvkqv6VpVMvveej1J0=";
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 "Exec=@DATA_DIR@/@APP_ID@" \
59 "Exec=$out/bin/gnome-weather"
61 chmod +x meson_post_install.py
62 patchShebangs meson_post_install.py
66 updateScript = gnome.updateScript { packageName = "gnome-weather"; };
70 homepage = "https://apps.gnome.org/Weather/";
71 description = "Access current weather conditions and forecasts";
72 mainProgram = "gnome-weather";
73 maintainers = teams.gnome.members;
74 license = licenses.gpl2Plus;
75 platforms = platforms.unix;