1 { lib, stdenv, fetchurl, meson, ninja, pkg-config, libxml2, glib, gtk3, gettext, libsoup
2 , gtk-doc, docbook_xsl, docbook_xml_dtd_43, gobject-introspection, python3, tzdata, geocode-glib, vala, gnome3 }:
4 stdenv.mkDerivation rec {
8 outputs = [ "out" "dev" "devdoc" ];
11 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
12 sha256 = "0l74hc02rvzm4p530y539a67jwb080fqdaazdl8j0fr3xvq0j9yy";
15 nativeBuildInputs = [ meson ninja pkg-config gettext vala gtk-doc docbook_xsl docbook_xml_dtd_43 gobject-introspection python3 ];
16 buildInputs = [ glib gtk3 libsoup libxml2 geocode-glib ];
19 chmod +x meson/meson_post_install.py
20 patchShebangs meson/meson_post_install.py
24 "-Dzoneinfo_dir=${tzdata}/share/zoneinfo"
30 updateScript = gnome3.updateScript {
36 description = "A library to access weather information from online services for numerous locations";
37 homepage = "https://wiki.gnome.org/Projects/LibGWeather";
38 license = licenses.gpl2Plus;
39 maintainers = teams.gnome.members;
40 platforms = platforms.linux;