2018-02-13 22:44:07 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libsoup, tzdata, mate }:
|
2017-08-31 03:56:47 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libmateweather-${version}";
|
2019-01-14 13:41:35 +00:00
|
|
|
version = "1.20.2";
|
2017-08-31 03:56:47 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-13 22:44:07 +00:00
|
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
2019-01-14 13:41:35 +00:00
|
|
|
sha256 = "1ksp1xn13m94sjnnrx2dyv7hlbgjbnbahwdyaq35r2419b366hxv";
|
2017-08-31 03:56:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
|
|
|
buildInputs = [ gtk3 libsoup tzdata ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-zoneinfo-dir=${tzdata}/share/zoneinfo"
|
|
|
|
"--enable-locations-compression"
|
|
|
|
];
|
|
|
|
|
2017-09-01 21:27:24 +01:00
|
|
|
preFixup = "rm -f $out/share/icons/mate/icon-theme.cache";
|
|
|
|
|
2017-08-31 03:56:47 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library to access weather information from online services for MATE";
|
|
|
|
homepage = https://github.com/mate-desktop/libmateweather;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|