]>
Commit | Line | Data |
---|---|---|
792ccef2 IB |
1 | { buildApp, nextcloudVersion }: |
2 | let | |
3 | onlyoffice_7_2_1 = buildApp rec { | |
4 | appName = "onlyoffice"; | |
5 | version = "7.2.1"; | |
6 | url = "https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v${version}/${appName}.tar.gz"; | |
7 | sha256 = "0avs9pf45xa73xadf6vmfwicjgb5dcq2cspwm2l5npailz05lyd0"; | |
8 | }; | |
9 | versions = { | |
10 | "20" = onlyoffice_7_2_1; | |
11 | "21" = onlyoffice_7_2_1; | |
12 | "22" = onlyoffice_7_2_1; | |
13 | "23" = onlyoffice_7_2_1; | |
14 | }; | |
15 | in | |
16 | versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app onlyoffice") |