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