nixpkgs/pkgs/desktops/gnome-3/core/libgweather/default.nix

22 lines
730 B
Nix
Raw Normal View History

2013-02-01 02:46:04 +01:00
{ stdenv, fetchurl, pkgconfig, libxml2, gtk, intltool, libsoup, gconf
, pango, gdk_pixbuf, atk }:
stdenv.mkDerivation rec {
2014-01-10 01:13:37 +01:00
name = "libgweather-3.10.1";
2013-02-01 02:46:04 +01:00
src = fetchurl {
2014-01-10 01:13:37 +01:00
url = "mirror://gnome/sources/libgweather/3.10/${name}.tar.xz";
sha256 = "1iyg0l90m14iw0ksjbmrrhb5fqn0y7x5f726y56gxd4qcxgpi3mf";
2013-02-01 02:46:04 +01:00
};
2014-01-10 01:13:37 +01:00
makeFlags = "INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/ INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0";
2013-02-01 02:46:04 +01:00
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;
};
2013-02-01 02:46:04 +01:00
}