anchor.diff:      gdk-pixbuf
       geocode-glib
       glib
  -    gobjectIntrospection
  +    gobject-introspection
       gtk3
       libsoup
       libxml2
       pango
  +    vala
     ];
   
     configureFlags = [
       "--enable-schemas-compile"
       "--enable-compile-warnings"
  +    #"--disable-Werror"
       "--enable-glibtest"
       "--enable-nls"
  -    "--enable-rpath"
  +    "--disable-glade-catalog"
       "--disable-gtk-doc"
       "--disable-gtk-doc-html"
       "--disable-gtk-doc-pdf"
  -    "--enable-introspection"
  -    "--disable-vala"
  -    "--with-zoneinfo-dir=${tzdata}/share/zoneinfo"
  +    (enFlag "introspection" (gobject-introspection != null) null)
  +    (enFlag "vala" (vala != null) null)
  +    (wtFlag "zoneinfo-dir" (tzdata != null) "${tzdata}/share/zoneinfo")
  +  ];
  +
  +  makeFlags = [
  +    # Libgweather tries to install vala bindings in vala's prefix
  +    "vapidir=$(out)/share/vala/vapi"
     ];
   
     meta = with stdenv.lib; {
  
positive.code: , gdk-pixbuf
  , geocode-glib
  , glib
  , gobjectIntrospection
  , gtk3
  , libsoup
  , libxml2
  , pango
  , tzdata
  }:
  
  stdenv.mkDerivation rec {
    name = "libgweather-${version}";
    versionMajor = "3.18";
    versionMinor = "1";
    version = "${versionMajor}.${versionMinor}";
  
    src = fetchurl {
      url = "mirror://gnome/sources/libgweather/${versionMajor}/${name}.tar.xz";
      sha256 = "1l3sra84k5dnavbdbjyf1ar84xmjszpnnldih6mf45kniwpjkcll";
    };
  
    nativeBuildInputs = [
  
negative.code:       codyopel
      ];
      platforms = with platforms;
        x86_64-linux;
    };
  }
  