anchor.diff:  , fetchurl
   , flex
   , lib
  -# , meson
  -# , ninja
   
  -, bzip2
   , glib
   , libffi
  -, python2
  +, python3
   
   , cairo
   }:
  
positive.code:   src = fetchurl {
      url = "mirror://gnome/sources/gobject-introspection/${channel}/${name}.tar.xz";
      hashOutput = false;
      sha256 = "5b2875ccff99ff7baab63a34b67f8c920def240e178ff50add809e267d9ea24b";
    };
  
    nativeBuildInputs = [
      bison
      flex
      # meson
      # ninja
    ];
  
    buildInputs = [
      bzip2
      glib
      libffi
      python2
    ] ++ optionals doCheck [
      cairo
    ];
  
negative.code:     })
    ];
  
    postPatch = ''
      # Fix python patching
      grep -q 's,@PYTHON_CMD\\@,.*$(PYTHON),' Makefile.in
      sed -i 's#s,@PYTHON_CMD\\@,.*$(PYTHON),#s,@PYTHON_CMD\\@,$(PYTHON),#' Makefile.in
    '';
  
    configureFlags = [
      "--disable-maintainer-mode"
      "--disable-gtk-doc"
      "--disable-doctool"
    ];
  
    doCheck = false;
  
    passthru = {
      srcVerification = fetchurl {
        failEarly = true;
        inherit (src)
          outputHash
          outputHashAlgo
          urls;
        fullOpts = {
          sha256Url = "https://download.gnome.org/sources/gobject-introspection/"
            + "${channel}/${name}.sha256sum";
        };
      };
    };
  
  