anchor.diff:        rendering).
       '';
       homepage = "https://wayland.freedesktop.org/";
  -    license = lib.licenses.mit; # Expat version
  -    platforms = lib.platforms.linux;
  -    maintainers = with lib.maintainers; [ primeos codyopel ];
  +    license = licenses.mit; # Expat version
  +    platforms = if withLibraries then platforms.linux else platforms.unix;
  +    maintainers = with maintainers; [ primeos codyopel ];
     };
   
     passthru.version = version;
  
positive.code: , docbook_xml_dtd_45
  , docbook_xml_dtd_42
  }:
  
  # Require the optional to be enabled until upstream fixes or removes the configure flag
  assert expat != null;
  
negative.code: , libxml2
  , wayland
  , expat ? null # Build wayland-scanner (currently cannot be disabled as of 1.7.0)
  , withLibraries ? stdenv.isLinux
  , withDocumentation ? withLibraries && stdenv.hostPlatform == stdenv.buildPlatform
  , graphviz-nox
  , doxygen
  , libxslt
  