anchor.diff:  
     postInstall = "rm -rvf $out/share/gtk-doc";
   
  -  meta = with stdenv.lib; {
  +  meta = with lib; {
       description = "Helper library for RESTful services";
       homepage = https://wiki.gnome.org/Projects/Librest;
       license = licenses.lgpl21;
  
positive.code: }:
  
  let
    inherit (stdenv.lib)
      enFlag
      wtFlag;
  in
  
  stdenv.mkDerivation rec {
    name = "rest-${version}";
    versionMajor = "0.8";
    versionMinor = "0";
    version = "${versionMajor}.${versionMinor}";
  
    src = fetchurl {
      url = "mirror://gnome/sources/rest/${versionMajor}/${name}.tar.xz";
  
negative.code:     "--disable-gtk-doc"
      "--disable-gtk-doc-html"
      "--disable-gtk-doc-pdf"
      "--${boolEn (gobject-introspection != null)}-introspection"
      "--disable-gcov"
      # gnome support only adds a dependency on obsolete libsoup-gnome
      "--without-gnome"
  