anchor.diff:  , desktop-file-utils
   , editorconfig-core-c
   , fetchurl
  +, fetchpatch
   , flatpak
   , gnome
   , libgit2-glib
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "gnome-builder";
    version = "43.alpha1";
  
    outputs = [ "out" "devdoc" ];
  
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
      sha256 = "gzf93kAfLM5ehYYbby79XWdTyuReAiqH80V5kPp8JDY=";
    };
  
    patches = [
  
negative.code: 
    nativeBuildInputs = [
      desktop-file-utils
      (gi-docgen.overrideAttrs (attrs: {
        patches = attrs.patches ++ [
          (fetchpatch {
            url = "https://gitlab.gnome.org/GNOME/gi-docgen/-/commit/f4ff4787cce962b705fb2588b31f2988c5063c13.patch";
            sha256 = "11VGFFb2PLVxnX/qUQdLPLfhGQWx4sf4apBP7R2JWjA=";
          })
        ];
      }))
      gobject-introspection
      meson
      ninja
  