anchor.diff:    inherit (lib) optional optionals optionalString;
     mesonFeatureFlag = opt: b:
       "-D${opt}=${if b then "enabled" else "disabled"}";
  +  isNativeCompilation = stdenv.buildPlatform == stdenv.hostPlatform;
   in
   
   stdenv.mkDerivation {
  
positive.code:   ];
  
    buildInputs = [ glib freetype cairo ] # recommended by upstream
      ++ lib.optionals withCoreText [ ApplicationServices CoreText ];
  
    propagatedBuildInputs = optional withGraphite2 graphite2
      ++ optionals withIcu [ icu harfbuzz ];
  
negative.code:     (mesonFeatureFlag "graphite" withGraphite2)
      (mesonFeatureFlag "icu" withIcu)
      (mesonFeatureFlag "coretext" withCoreText)
      (mesonFeatureFlag "introspection" isNativeCompilation)
    ];
  
    nativeBuildInputs = [
  