Merge pull request #125179 from ShamrockLee/onlyoffice-bin
onlyoffice-bin: 6.1.0 -> 6.2.0 and fix runHook typo
This commit is contained in:
commit
4e4fbae4f9
@ -72,11 +72,11 @@ let
|
|||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "onlyoffice-desktopeditors";
|
pname = "onlyoffice-desktopeditors";
|
||||||
version = "6.1.0";
|
version = "6.2.0";
|
||||||
minor = "90";
|
minor = null;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v${version}/onlyoffice-desktopeditors_${version}-${minor}_amd64.deb";
|
url = "https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v${version}/onlyoffice-desktopeditors_amd64.deb";
|
||||||
sha256 = "sha256-TUaECChM3GxtB54/zNIKjRIocnAxpBVK7XsX3z7aq8o=";
|
sha256 = "sha256-nKmWxaVVul/rGDIh3u9zCpKu7U0nmrntFFf96xQyzdg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -153,7 +153,7 @@ in stdenv.mkDerivation rec {
|
|||||||
substituteInPlace $out/share/applications/onlyoffice-desktopeditors.desktop \
|
substituteInPlace $out/share/applications/onlyoffice-desktopeditors.desktop \
|
||||||
--replace "/usr/bin/onlyoffice-desktopeditor" "$out/bin/DesktopEditor"
|
--replace "/usr/bin/onlyoffice-desktopeditor" "$out/bin/DesktopEditor"
|
||||||
|
|
||||||
runHook preInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
@ -163,6 +163,8 @@ in stdenv.mkDerivation rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents";
|
description = "Office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents";
|
||||||
homepage = "https://www.onlyoffice.com/";
|
homepage = "https://www.onlyoffice.com/";
|
||||||
|
downloadPage = "https://github.com/ONLYOFFICE/DesktopEditors/releases";
|
||||||
|
changelog = "https://github.com/ONLYOFFICE/DesktopEditors/blob/master/CHANGELOG.md";
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
license = licenses.agpl3Plus;
|
license = licenses.agpl3Plus;
|
||||||
maintainers = with maintainers; [ nh2 gtrunsec ];
|
maintainers = with maintainers; [ nh2 gtrunsec ];
|
||||||
|
Loading…
Reference in New Issue
Block a user