]>
Commit | Line | Data |
---|---|---|
1 | { buildApp, nextcloudVersion }: | |
2 | let | |
3 | social_0_4_2 = buildApp rec { | |
4 | appName = "social"; | |
5 | version = "0.4.2"; | |
6 | url = "https://github.com/nextcloud/social/releases/download/v${version}/${appName}-${version}.tar.gz"; | |
7 | sha256 = "0nzsl70al4aqblbyzddlrhivbk2x559mbwn8slyg3k0wy9ynsi4p"; | |
8 | }; | |
9 | versions = { | |
10 | "20" = social_0_4_2; | |
11 | "21" = social_0_4_2; | |
12 | }; | |
13 | in | |
14 | versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app social") |