blob: 912b5bffdbe1fc092b617b95411542407fa27d20 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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")
|