nixpkgs/pkgs/development/libraries/libgweather/default.nix
R. RyanTM 1d0ef760a6 libgweather: 3.32.1 -> 3.32.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libgweather/versions
2019-07-15 11:57:51 -07:00

43 lines
1.3 KiB
Nix

{ stdenv, fetchurl, meson, ninja, pkgconfig, libxml2, glib, gtk3, gettext, libsoup
, gtk-doc, docbook_xsl, docbook_xml_dtd_43, gobject-introspection, python3, tzdata, geocode-glib, vala, gnome3 }:
stdenv.mkDerivation rec {
pname = "libgweather";
version = "3.32.2";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "00iwbllh8dmnqch0ysng9xhkzzs3ir9jl9f4hp41vbvg1pq5zv98";
};
nativeBuildInputs = [ meson ninja pkgconfig gettext vala gtk-doc docbook_xsl docbook_xml_dtd_43 gobject-introspection python3 ];
buildInputs = [ glib gtk3 libsoup libxml2 geocode-glib ];
postPatch = ''
chmod +x meson/meson_post_install.py
patchShebangs meson/meson_post_install.py
'';
mesonFlags = [
"-Dzoneinfo_dir=${tzdata}/share/zoneinfo"
"-Denable_vala=true"
"-Dgtk_doc=true"
];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
description = "A library to access weather information from online services for numerous locations";
homepage = https://wiki.gnome.org/Projects/LibGWeather;
license = licenses.gpl2Plus;
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}