]>
Commit | Line | Data |
---|---|---|
5a412244 | 1 | { buildApp, nextcloudVersion }: |
792ccef2 IB |
2 | let |
3 | files_mindmap_0_0_25_fix = buildApp rec { | |
4 | appName = "files_mindmap"; | |
5 | version = "0.0.25"; | |
6 | url = "https://github.com/ACTom/${appName}/releases/download/v${version}/${appName}-${version}.tar.gz"; | |
7 | sha256 = "1z4bi4i8gw0azf6vn78014sal4gajsapkc6w99n89pb0jyy13551"; | |
8 | installHook = self: '' | |
9 | # https://github.com/ACTom/files_mindmap/issues/122 | |
10 | ln -s ${self}/img/mindmap.svg $out/core/img/filetypes/ | |
11 | ''; | |
12 | }; | |
13 | files_mindmap_0_0_25 = buildApp rec { | |
14 | appName = "files_mindmap"; | |
15 | version = "0.0.25"; | |
16 | url = "https://github.com/ACTom/${appName}/releases/download/v${version}/${appName}-${version}.tar.gz"; | |
17 | sha256 = "1z4bi4i8gw0azf6vn78014sal4gajsapkc6w99n89pb0jyy13551"; | |
18 | }; | |
19 | versions = { | |
20 | "14" = files_mindmap_0_0_25_fix; | |
21 | "15" = files_mindmap_0_0_25_fix; | |
22 | "16" = files_mindmap_0_0_25_fix; | |
23 | "17" = files_mindmap_0_0_25_fix; | |
24 | "18" = files_mindmap_0_0_25_fix; | |
25 | "19" = files_mindmap_0_0_25_fix; | |
26 | "20" = files_mindmap_0_0_25_fix; | |
27 | "21" = files_mindmap_0_0_25; | |
28 | "22" = files_mindmap_0_0_25; | |
29 | }; | |
30 | in | |
31 | versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app files_mindmap") |