anchor.diff:      optionals
       optionalString;
   
  -  channel = "1.56";
  -  version = "${channel}.1";
  +  channel = "1.58";
  +  version = "${channel}.0";
   in
   stdenv.mkDerivation rec {
     name = "gobject-introspection-${version}";
  
positive.code:     })
    ];
  
    postPatch = /* patchShebangs does not catch @PYTHON@ */ ''
      sed -i tools/g-ir-tool-template.in \
        -e 's|#!/usr/bin/env @PYTHON@|#!${python2.interpreter}|'
    '' + /* Fix broken glib version check */ ''
      sed -i configure{,.ac} \
        -e 's/2.56.1/2.56.0/g'
    '' +
    optionalString doCheck (''
        patchShebangs ./tests/gi-tester
      '' + /* Fix tests broken by absolute_shlib_path.patch */ ''
        sed -i tests/scanner/{GetType,GtkFrob,Regress,SLetter,Typedefs,Utility}-1.0-expected.gir \
          -e 's|shared-library="|shared-library="/unused/|'
      ''
    );
  
    configureFlags = [
      "--disable-maintainer-mode"
      "--disable-gtk-doc"
      "--disable-gtk-doc-html"
      "--disable-gtk-doc-pdf"
      "--disable-doctool"
      "--enable-Bsymbolic"
      "--${boolWt doCheck}-cairo"
    ];
  
    # meonFlags = [
    #   "-Ddoctool=false"
    # ];
  
    postInstall = "rm -frv $out/share/gtk-doc";
  
    doCheck = false;
  
    passthru = {
      srcVerification = fetchurl {
        inherit (src)
          outputHash
          outputHashAlgo
          urls;
        sha256Url = "https://download.gnome.org/sources/gobject-introspection/"
          + "${channel}/${name}.sha256sum";
        failEarly = true;
      };
    };
  
  
negative.code: , fetchurl
  , flex
  , lib
  
  , glib
  , libffi
  , python3
  
  , cairo
  }:
  