onlyoffice-bin, onlyoffice-bin_latest: move to pkgs/by-name

This commit is contained in:
fin444 2024-02-02 15:25:50 -05:00
parent 42a8cabeeb
commit 9d551ab298
No known key found for this signature in database
6 changed files with 9 additions and 7 deletions

View File

@ -156,8 +156,6 @@ let
# the bundled version of qt does not support wayland
)
'';
passthru.updateScript = ./update.sh;
};
in
@ -185,6 +183,8 @@ buildFHSEnv {
--replace "/usr/bin/onlyoffice-desktopeditors" "$out/bin/onlyoffice-desktopeditors"
'';
passthru.updateScript = ./update.sh;
meta = with lib; {
description = "Office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents";
longDescription = ''

View File

@ -0,0 +1,5 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl jq common-updater-scripts
version="$(curl -sL "https://api.github.com/repos/ONLYOFFICE/DesktopEditors/releases?per_page=1" | jq -r ".[0].tag_name" | sed 's/^v//')"
update-source-version onlyoffice-bin "$version"

View File

@ -791,6 +791,8 @@ mapAliases ({
openvpn_24 = throw "openvpn_24 has been removed, because it went EOL. 2.5.x or newer is still available"; # Added 2023-01-23
orchis = orchis-theme; # Added 2021-06-09
oni2 = throw "oni2 was removed, because it is unmaintained and was abandoned years ago."; #Added 2024-01-15
onlyoffice-bin_7_2 = throw "onlyoffice-bin_7_2 has been renamed to onlyoffice-bin"; # Added 2024-02-05
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
oroborus = throw "oroborus was removed, because it was abandoned years ago."; #Added 2023-09-10
osxfuse = macfuse-stubs; # Added 2021-03-20
oxen = throw "'oxen' has been removed, because it was broken, outdated and unmaintained"; # Added 2023-12-09

View File

@ -33968,11 +33968,6 @@ with pkgs;
okteto = callPackage ../development/tools/okteto { };
onlyoffice-bin_7_2 = callPackage ../applications/office/onlyoffice-bin/7_2.nix { };
onlyoffice-bin_8_0 = callPackage ../applications/office/onlyoffice-bin/8_0.nix { };
onlyoffice-bin = onlyoffice-bin_7_2;
onlyoffice-bin_latest = onlyoffice-bin_8_0;
onmetal-image = callPackage ../tools/virtualization/onmetal-image { };
opcr-policy = callPackage ../development/tools/opcr-policy { };