]>
Commit | Line | Data |
---|---|---|
1 | { buildApp, nextcloudVersion }: | |
2 | let | |
3 | carnet_0_24_2 = buildApp rec { | |
4 | appName = "carnet"; | |
5 | version = "0.24.2"; | |
6 | url = "https://github.com/PhieF/CarnetNextcloud/releases/download/v${version}/${appName}-nc-v${version}.tar.gz"; | |
7 | sha256 = "0rlzb1sx86rdqdx7ykh55ba70xrwq0h5yalkaawmh41gf08lzqj3"; | |
8 | }; | |
9 | versions = { | |
10 | "13" = carnet_0_24_2; | |
11 | "14" = carnet_0_24_2; | |
12 | "15" = carnet_0_24_2; | |
13 | "16" = carnet_0_24_2; | |
14 | "17" = carnet_0_24_2; | |
15 | "18" = carnet_0_24_2; | |
16 | "19" = carnet_0_24_2; | |
17 | "20" = carnet_0_24_2; | |
18 | "21" = carnet_0_24_2; | |
19 | "22" = carnet_0_24_2; | |
20 | }; | |
21 | in | |
22 | versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app carnet") |