]> git.immae.eu Git - perso/Immae/Config/Nix.git/blame_incremental - pkgs/webapps/nextcloud/apps/external.nix
Bump Nextcloud to latest version
[perso/Immae/Config/Nix.git] / pkgs / webapps / nextcloud / apps / external.nix
... / ...
CommitLineData
1{ buildApp, nextcloudVersion }:
2let
3 external_3_10_2 = buildApp rec {
4 appName = "external";
5 version = "3.10.2";
6 url = "https://github.com/nextcloud-releases/${appName}/releases/download/v${version}/${appName}-v${version}.tar.gz";
7 sha256 = "01r9nyjq38xidgdlgkrxgyhn7bn1w2c4m4pbm26f7gglmb4lsmml";
8 };
9 external_3_9_0 = buildApp rec {
10 appName = "external";
11 version = "3.9.0";
12 url = "https://github.com/nextcloud/${appName}/releases/download/v${version}/${appName}-${version}.tar.gz";
13 sha256 = "0fb9qg63p07wrfpjg36n80jcvj7wfv39vnwgc6jkxs6q647pbbp0";
14 };
15 versions = {
16 "22" = external_3_9_0;
17 "23" = external_3_10_2;
18 };
19in
20 versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app external")