]>
Commit | Line | Data |
---|---|---|
1 | { buildApp, nextcloudVersion }: | |
2 | let | |
3 | keeweb_0_6_8 = buildApp rec { | |
4 | appName = "keeweb"; | |
5 | version = "0.6.8"; | |
6 | url = "https://github.com/jhass/nextcloud-keeweb/releases/download/v${version}/${appName}-${version}.tar.gz"; | |
7 | sha256 = "1r0iljspyz964w46swc05xsmzm1qfsv33d90rg06s7fwmfqccpin"; | |
8 | installPhase = '' | |
9 | mkdir -p $out | |
10 | cp -R . $out/ | |
11 | ''; | |
12 | otherConfig = { | |
13 | mimetypemapping = { | |
14 | "kdbx" = ["application/x-kdbx"]; | |
15 | }; | |
16 | }; | |
17 | }; | |
18 | versions = { | |
19 | "16" = keeweb_0_6_8; | |
20 | "17" = keeweb_0_6_8; | |
21 | "18" = keeweb_0_6_8; | |
22 | "19" = keeweb_0_6_8; | |
23 | "20" = keeweb_0_6_8; | |
24 | "21" = keeweb_0_6_8; | |
25 | "22" = keeweb_0_6_8; | |
26 | "23" = keeweb_0_6_8; | |
27 | }; | |
28 | in | |
29 | versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app keeweb") |