anchor.diff:  , openbox
   , fluxbox
   , enlightenment
  +, xorg
   }:
   
   let
  -  inherit (lib) optional;
  +  inherit (lib) optional optionals;
   in
   stdenv.mkDerivation rec {
     pname = "imlib2";
  
positive.code: # imlib2 can load images from ID3 tags.
  , libid3tag, librsvg, libheif
  , freetype , bzip2, pkg-config
  , x11Support ? true, xlibsWrapper ? null
  , svgSupport ? false
  , heifSupport ? false
  , webpSupport ? false
  
negative.code:   buildInputs = [
      libjpeg libtiff giflib libpng
      bzip2 freetype libid3tag
    ] ++ optionals x11Support [ xorg.libXft xorg.libXext ]
      ++ optional heifSupport libheif
      ++ optional svgSupport librsvg
      ++ optional webpSupport libwebp
  