anchor.diff:  , itstool
   , lib
   , makeWrapper
  +# , meson
  +# , ninja
   
   , adwaita-icon-theme
   , atk
  
positive.code: , channel
  }:
  
  assert !gtk.x11_backend -> libx11 == null;
  
  let
    inherit (lib)
      boolEn
      boolWt
      optionals;
  
    sources = {
  
negative.code:     "--${boolWt (librsvg != null)}-librsvg"
      "--${boolWt (gtk.x11_backend && libx11 != null)}-x"
    ];
  
    # mesonFlags = [
    #   "-Dlibexif=${boolTf (libexif != null)}"
    #   "-Dcms=${boolTf (libx11 != null && lcms2 != null)}"
    #   "-Dxmp=${boolTf (exempi != null)}"
    #   "-Dlibjpeg=${boolTf (libjpeg != null)}"
    #   "-Dlibrsvg=${boolTf (librsvg != null)}"
    #   "-Dgtk_doc=false"
    #   "-Dintrospection=${boolTf (gobject-introspection != null)}"
    #   "-Dinstalled_tests=valse"
    # ];
  
    preFixup = ''
      wrapProgram $out/bin/eog \
  