anchor.diff:      pname = "${pname}-deps";
       inherit version src;
   
  -    nativeBuildInputs = [ gradle perl ];
  +    nativeBuildInputs = [ gradle perl ] ++ lib.optional stdenv.isDarwin xcbuild;
       buildPhase = ''
       cat >>build.gradle <<HERE
   task resolveDependencies {
  
positive.code: 
    nativeBuildInputs = [
      gradle unzip makeWrapper icoutils
    ];
  
    dontStrip = true;
  
    buildPhase = ''
      ln -s ${fixedDeps}/dependencies dependencies
  
      sed -ie "s#mavenLocal()#mavenLocal(); maven { url '${fixedDeps}/maven' }#g" build.gradle
  
negative.code: , makeDesktopItem
  , autoPatchelfHook
  , icoutils
  , xcbuild
  , libredirect
  }:
  
  let
  