diff options
Diffstat (limited to 'flakes/mypackages/pkgs/webapps/nextcloud/apps/contacts.nix')
-rw-r--r-- | flakes/mypackages/pkgs/webapps/nextcloud/apps/contacts.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/flakes/mypackages/pkgs/webapps/nextcloud/apps/contacts.nix b/flakes/mypackages/pkgs/webapps/nextcloud/apps/contacts.nix new file mode 100644 index 0000000..f8931b7 --- /dev/null +++ b/flakes/mypackages/pkgs/webapps/nextcloud/apps/contacts.nix | |||
@@ -0,0 +1,15 @@ | |||
1 | { buildApp, nextcloudVersion }: | ||
2 | let | ||
3 | contacts_5_3_2 = buildApp rec { | ||
4 | appName = "contacts"; | ||
5 | version = "5.3.2"; | ||
6 | url = "https://github.com/nextcloud-releases/${appName}/releases/download/v${version}/${appName}-v${version}.tar.gz"; | ||
7 | sha256 = "sha256-1jQ+pyLBPU7I4wSPkmezJq7ukrQh8WPErG4J6Ps3LR4="; | ||
8 | }; | ||
9 | versions = { | ||
10 | "25" = contacts_5_3_2; | ||
11 | "26" = contacts_5_3_2; | ||
12 | "27" = contacts_5_3_2; | ||
13 | }; | ||
14 | in | ||
15 | versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app contacts") | ||