Merge pull request #285888 from fin444/onlyoffice-8.0.0

onlyoffice-bin_latest: 7.5.1 -> 8.0.0

authored by Weijia Wang and committed by GitHub d8eab17a 4a97fef8

+11 -9
pkgs/applications/office/onlyoffice-bin/7_2.nix pkgs/by-name/on/onlyoffice-bin/package.nix
+4 -4
pkgs/applications/office/onlyoffice-bin/7_5.nix pkgs/by-name/on/onlyoffice-bin_latest/package.nix
··· 65 65 66 66 derivation = stdenv.mkDerivation rec { 67 67 pname = "onlyoffice-desktopeditors"; 68 - version = "7.5.1"; 68 + version = "8.0.0"; 69 69 minor = null; 70 70 src = fetchurl { 71 71 url = "https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v${version}/onlyoffice-desktopeditors_amd64.deb"; 72 - sha256 = "sha256-Hf5CNbUUMuHZHDY3fgD4qpF4UASevscK8DTZlauyHhY="; 72 + sha256 = "sha256-YtR2fiARMKw8dOgAPXYM+WFwmhKZRsIIBQYTxppu3F0="; 73 73 }; 74 74 75 75 nativeBuildInputs = [ ··· 156 156 # the bundled version of qt does not support wayland 157 157 ) 158 158 ''; 159 - 160 - passthru.updateScript = ./update.sh; 161 159 }; 162 160 163 161 in ··· 184 182 substituteInPlace $out/share/applications/onlyoffice-desktopeditors.desktop \ 185 183 --replace "/usr/bin/onlyoffice-desktopeditors" "$out/bin/onlyoffice-desktopeditors" 186 184 ''; 185 + 186 + passthru.updateScript = ./update.sh; 187 187 188 188 meta = with lib; { 189 189 description = "Office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents";
pkgs/applications/office/onlyoffice-bin/update.sh pkgs/by-name/on/onlyoffice-bin/update.sh
+5
pkgs/by-name/on/onlyoffice-bin_latest/update.sh
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p curl jq common-updater-scripts 3 + 4 + version="$(curl -sL "https://api.github.com/repos/ONLYOFFICE/DesktopEditors/releases?per_page=1" | jq -r ".[0].tag_name" | sed 's/^v//')" 5 + update-source-version onlyoffice-bin "$version"
+2
pkgs/top-level/aliases.nix
··· 795 795 optparse-bash = throw "'optparse-bash' (GitHub: nk412/optparse) has been removed. Use 'argparse' instead"; # Added 2024-01-12 796 796 orchis = orchis-theme; # Added 2021-06-09 797 797 oni2 = throw "oni2 was removed, because it is unmaintained and was abandoned years ago."; #Added 2024-01-15 798 + onlyoffice-bin_7_2 = throw "onlyoffice-bin_7_2 has been renamed to onlyoffice-bin"; # Added 2024-02-05 799 + onlyoffice-bin_7_5 = throw "onlyoffice-bin_7_5 has been renamed to onlyoffice-bin_latest (and updated from 7.5.x)"; # Added 2024-02-05 798 800 oroborus = throw "oroborus was removed, because it was abandoned years ago."; #Added 2023-09-10 799 801 osxfuse = macfuse-stubs; # Added 2021-03-20 800 802 oxen = throw "'oxen' has been removed, because it was broken, outdated and unmaintained"; # Added 2023-12-09
-5
pkgs/top-level/all-packages.nix
··· 33906 33906 33907 33907 okteto = callPackage ../development/tools/okteto { }; 33908 33908 33909 - onlyoffice-bin_7_2 = callPackage ../applications/office/onlyoffice-bin/7_2.nix { }; 33910 - onlyoffice-bin_7_5 = callPackage ../applications/office/onlyoffice-bin/7_5.nix { }; 33911 - onlyoffice-bin = onlyoffice-bin_7_2; 33912 - onlyoffice-bin_latest = onlyoffice-bin_7_5; 33913 - 33914 33909 onmetal-image = callPackage ../tools/virtualization/onmetal-image { }; 33915 33910 33916 33911 opcr-policy = callPackage ../development/tools/opcr-policy { };