anchor.diff:  , libxml2
   , wayland
   , expat ? null # Build wayland-scanner (currently cannot be disabled as of 1.7.0)
  -, withDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform
  +, withLibraries ? stdenv.isLinux
  +, withDocumentation ? withLibraries && stdenv.hostPlatform == stdenv.buildPlatform
   , graphviz-nox
   , doxygen
   , libxslt
  
positive.code:   outputs = [ "out" ] ++ lib.optionals withDocumentation [ "doc" "man" ];
    separateDebugInfo = true;
  
    mesonFlags = [ "-Ddocumentation=${lib.boolToString withDocumentation}" ];
  
    postPatch = lib.optionalString withDocumentation ''
      patchShebangs doc/doxygen/gen-doxygen.py
  
negative.code:       rendering).
      '';
      homepage = "https://wayland.freedesktop.org/";
      license = licenses.mit; # Expat version
      platforms = if withLibraries then platforms.linux else platforms.unix;
      maintainers = with maintainers; [ primeos codyopel ];
    };
  
    passthru.version = version;
  