![R. RyanTM](/assets/img/avatar_default.png)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libmateweather/versions. These checks were done: - built on NixOS - 0 of 0 passed binary check by having a zero exit code. - 0 of 0 passed binary check by having the new version present in output. - found 1.20.1 with grep in /nix/store/h4792zpbkmkj75gzl056h8in9mwg651z-libmateweather-1.20.1 - directory tree listing: https://gist.github.com/3e9e247094f13369303bf230a02f3abe - du listing: https://gist.github.com/a77cc48fd92236a8bb9c82f2f8c54a9b
31 lines
903 B
Nix
31 lines
903 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libsoup, tzdata, mate }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libmateweather-${version}";
|
|
version = "1.20.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "0bp1nn3b5gf5nqrdwl43fxbb82j74s3x8jkmp40ilv2qpc2mxwr1";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
buildInputs = [ gtk3 libsoup tzdata ];
|
|
|
|
configureFlags = [
|
|
"--with-zoneinfo-dir=${tzdata}/share/zoneinfo"
|
|
"--enable-locations-compression"
|
|
];
|
|
|
|
preFixup = "rm -f $out/share/icons/mate/icon-theme.cache";
|
|
|
|
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 ];
|
|
};
|
|
}
|