nixpkgs-suyu/pkgs/desktops/mate/libmateweather/default.nix
R. RyanTM c564b56895 mate.libmateweather: 1.20.1 -> 1.21.0 (#43191)
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.21.0 with grep in /nix/store/ksayjrqlh72h4lzyqwdwzzr193ygl0xb-libmateweather-1.21.0
- directory tree listing: https://gist.github.com/77147d67fc7b1421588d484ca7a98dec
- du listing: https://gist.github.com/a93673e3e9aba588db3b7595bd49248a
2018-07-14 20:49:50 +02:00

30 lines
903 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libsoup, tzdata, mate }:
stdenv.mkDerivation rec {
name = "libmateweather-${version}";
version = "1.21.0";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "1vj2pgry6wdscdcpwwagqlsjf8rkh4id67iw7d9qk1pfbhb2sznl";
};
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 ];
};
}