anchor.diff:  , withIntrospection ? stdenv.buildPlatform == stdenv.hostPlatform
   , gobject-introspection
   , fixDarwinDylibNames
  -, gtk-doc
  -, docbook-xsl-nons
  -, docbook_xml_dtd_43
  +, gi-docgen
   , gnome
   }:
   
   stdenv.mkDerivation rec {
     pname = "json-glib";
  -  version = "1.6.2";
  +  version = "1.6.6";
   
     outputs = [ "out" "dev" ]
       ++ lib.optional withIntrospection "devdoc";
   
     src = fetchurl {
       url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
  -    sha256 = "092g2dyy1hhl0ix9kp33wcab0pg1qicnsv0cj5ms9g9qs336cgd3";
  +    sha256 = "luyYvnqR9t3jNjZyDj2i/27LuQ52zKpJSX8xpoVaSQ4=";
     };
   
     strictDeps = true;
  
positive.code: 
    mesonFlags = lib.optionals (!withIntrospection) [
      "-Dintrospection=disabled"
      # doc gen uses introspection, doesn't work properly
      "-Dgtk_doc=disabled"
    ];
  
    doCheck = true;
  
    passthru = {
      updateScript = gnome.updateScript {
  
negative.code:     pkg-config
      gettext
      glib
    ] ++ lib.optional stdenv.hostPlatform.isDarwin [
      fixDarwinDylibNames
    ] ++ lib.optionals withIntrospection [
      gobject-introspection
      gi-docgen
    ];
  
    propagatedBuildInputs = [
  