]>
Commit | Line | Data |
---|---|---|
1a64deeb IB |
1 | { buildApp, nextcloudVersion }: |
2 | let | |
3 | notes_4_8_1 = buildApp rec { | |
4 | appName = "notes"; | |
5 | version = "4.8.1"; | |
6 | url = "https://github.com/nextcloud/${appName}/releases/download/v${version}/${appName}.tar.gz"; | |
7 | sha256 = "sha256-BfH1W+7TWKZRuAAhKQEQtlv8ePTtJQvZQVMMu3zULR4="; | |
8 | }; | |
9 | versions = { | |
10 | "25" = notes_4_8_1; | |
11 | "26" = notes_4_8_1; | |
12 | "27" = notes_4_8_1; | |
13 | }; | |
14 | in | |
15 | versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app notes") |