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}";
|
2018-06-19 14:43:03 +01:00
|
|
|
version = "1.20.1";
|
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";
|
2018-06-19 14:43:03 +01:00
|
|
|
sha256 = "0bp1nn3b5gf5nqrdwl43fxbb82j74s3x8jkmp40ilv2qpc2mxwr1";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|