nixpkgs/pkgs/desktops/mate/libmateweather/default.nix

31 lines
903 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libsoup, tzdata, mate }:
2017-08-31 04:56:47 +02:00
stdenv.mkDerivation rec {
name = "libmateweather-${version}";
2018-02-14 02:22:51 +01:00
version = "1.20.0";
2017-08-31 04:56:47 +02:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
2018-02-14 02:22:51 +01:00
sha256 = "1c8mvydb0h7z3zn0qahwlp15z5wl6nrv24q4z7ldhm340jnxsvh7";
2017-08-31 04:56:47 +02:00
};
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ gtk3 libsoup tzdata ];
configureFlags = [
"--with-zoneinfo-dir=${tzdata}/share/zoneinfo"
"--enable-locations-compression"
];
2017-09-01 22:27:24 +02:00
preFixup = "rm -f $out/share/icons/mate/icon-theme.cache";
2017-08-31 04:56:47 +02: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 ];
};
}