From 1a64deeb894dc95e2645a75771732c6cc53a79ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 4 Oct 2023 01:35:06 +0200 Subject: Squash changes containing private information There were a lot of changes since the previous commit, but a lot of them contained personnal information about users. All thos changes got stashed into a single commit (history is kept in a different place) and private information was moved in a separate private repository --- .../mypackages/pkgs/webapps/nextcloud/apps/contacts.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 flakes/mypackages/pkgs/webapps/nextcloud/apps/contacts.nix (limited to 'flakes/mypackages/pkgs/webapps/nextcloud/apps/contacts.nix') 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 @@ +{ buildApp, nextcloudVersion }: +let + contacts_5_3_2 = buildApp rec { + appName = "contacts"; + version = "5.3.2"; + url = "https://github.com/nextcloud-releases/${appName}/releases/download/v${version}/${appName}-v${version}.tar.gz"; + sha256 = "sha256-1jQ+pyLBPU7I4wSPkmezJq7ukrQh8WPErG4J6Ps3LR4="; + }; + versions = { + "25" = contacts_5_3_2; + "26" = contacts_5_3_2; + "27" = contacts_5_3_2; + }; +in + versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app contacts") -- cgit v1.2.3