anchor.diff:      gtk-doc
       docbook-xsl-nons
       docbook_xml_dtd_45
  -    python3
  +    # Build definition checks for the Python modules needed at runtime by importing them.
  +    (buildPackages.python3.withPackages pythonModules)
       finalAttrs.setupHook # move .gir files
     ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ gobject-introspection-unwrapped ];
   
     buildInputs = [
  -    python3
  +    (python3.withPackages pythonModules)
     ];
   
     checkInputs = lib.optionals stdenv.isDarwin [
  
positive.code: # it may be worth thinking about using multiple derivation outputs
  # In that case its about 6MB which could be separated
  
  stdenv.mkDerivation (finalAttrs: {
    pname = "gobject-introspection";
    version = "1.72.0";
  
negative.code: 
    mesonFlags = [
      "--datadir=${placeholder "dev"}/share"
      "-Dcairo=disabled"
      "-Dgtk_doc=${lib.boolToString (stdenv.hostPlatform == stdenv.buildPlatform)}"
    ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
  