summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/core/libgweather/default.nix
blob: 02760c94aee6084ae88f3f825ec163f851e3a0b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ stdenv, fetchurl, pkgconfig, libxml2, gtk, intltool, libsoup, gconf
, pango, gdk_pixbuf, atk }:

stdenv.mkDerivation rec {
  name = "libgweather-3.6.2";

  src = fetchurl {
    url = "mirror://gnome/sources/libgweather/3.6/${name}.tar.xz";
    sha256 = "1c50m0zrnfh4g58rzf33dfw8ggslj38c61p8a75905bmj3rfyahg";
  };
  configureFlags = if stdenv ? glibc then "--with-zoneinfo-dir=${stdenv.glibc}/share/zoneinfo" else "";
  propagatedBuildInputs = [ libxml2 gtk libsoup gconf pango gdk_pixbuf atk ];
  nativeBuildInputs = [ pkgconfig intltool ];

  meta = with stdenv.lib; {
    platforms = platforms.linux;
  };
}