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-07-14 19:49:50 +01:00
|
|
|
version = "1.21.0";
|
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-07-14 19:49:50 +01:00
|
|
|
sha256 = "1vj2pgry6wdscdcpwwagqlsjf8rkh4id67iw7d9qk1pfbhb2sznl";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|