]>
Commit | Line | Data |
---|---|---|
1 | { buildApp, nextcloudVersion }: | |
2 | let | |
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 | }; | |
21 | in | |
22 | versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app extract") |