2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libxml2, gtk, intltool, libsoup, gconf
|
|
|
|
, pango, gdk_pixbuf, atk, tzdata, gnome3 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
|
2017-10-04 22:50:14 +01:00
|
|
|
configureFlags = [ "--with-zoneinfo-dir=${tzdata}/share/zoneinfo" "--enable-vala" ];
|
2016-09-18 20:35:23 +01:00
|
|
|
propagatedBuildInputs = [ libxml2 gtk libsoup gconf pango gdk_pixbuf atk gnome3.geocode_glib ];
|
2017-10-04 22:50:14 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool gnome3.vala ];
|
|
|
|
|
|
|
|
# Prevent building vapi into ${vala} derivation directory
|
|
|
|
prePatch = ''
|
|
|
|
substituteInPlace libgweather/Makefile.in --replace "\$(DESTDIR)\$(vapidir)" "\$(DESTDIR)\$(girdir)/../vala/vapi"
|
|
|
|
'';
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|