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