3
0
Fork 0
forked from mirrors/nixpkgs
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 03:56:47 +01:00
stdenv.mkDerivation rec {
name = "libmateweather-${version}";
version = "1.20.1";
2017-08-31 03:56:47 +01:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
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 ];
};
}