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 --- flakes/mypackages/pkgs/webapps/nextcloud/apps/social.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 flakes/mypackages/pkgs/webapps/nextcloud/apps/social.nix (limited to 'flakes/mypackages/pkgs/webapps/nextcloud/apps/social.nix') diff --git a/flakes/mypackages/pkgs/webapps/nextcloud/apps/social.nix b/flakes/mypackages/pkgs/webapps/nextcloud/apps/social.nix new file mode 100644 index 0000000..912b5bf --- /dev/null +++ b/flakes/mypackages/pkgs/webapps/nextcloud/apps/social.nix @@ -0,0 +1,14 @@ +{ buildApp, nextcloudVersion }: +let + social_0_6_1 = buildApp rec { + appName = "social"; + version = "0.6.1"; + url = "https://github.com/nextcloud-releases/social/releases/download/v${version}/${appName}-v${version}.tar.gz"; + sha256 = "sha256-5mww31ibwgnSiTuTaKo5MngbhPIw8lwLt1tkQySmerY="; + }; + versions = { + "26" = social_0_6_1; + "27" = social_0_6_1; + }; +in + versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app social") -- cgit v1.2.3