anchor.diff:  
   let
     appName = "LibreOffice.app";
  +  scriptName = "soffice";
     version = "7.2.5";
     baseUrl = "https://download.documentfoundation.org/libreoffice/stable";
     dist = {
  
positive.code:     };
    };
  in
  stdenv.mkDerivation rec {
    inherit version;
    pname = "libreoffice";
    src = fetchurl {
      inherit (dist."${stdenv.hostPlatform.system}") url sha256;
    };
  
    nativeBuildInputs = [ undmg ];
    sourceRoot = "${appName}";
    dontPatch = true;
    dontConfigure = true;
    dontBuild = true;
  
    installPhase = ''
      runHook preInstallPhase
      mkdir -p $out/{Applications/${appName},bin}
      cp -R . $out/Applications/${appName}
      ln -s $out/Applications/${appName}/Contents/MacOS/soffice $out/bin
      runHook postInstallPhase
    '';
  
    passthru.updateScript =
  
negative.code: { stdenvNoCC
  , lib
  , fetchurl
  , undmg
  