]> git.immae.eu Git - perso/Immae/Config/Nix.git/blob - flakes/mypackages/pkgs/webapps/nextcloud/apps/groupfolders.nix
1256ce8421c5c7dd15e3ef82657106e9898a38f9
[perso/Immae/Config/Nix.git] / flakes / mypackages / pkgs / webapps / nextcloud / apps / groupfolders.nix
1 { buildApp, nextcloudVersion }:
2 let
3 # https://apps.nextcloud.com/apps/groupfolders
4 groupfolders_13_1_5 = buildApp rec {
5 appName = "groupfolders";
6 version = "13.1.5";
7 url = "https://github.com/nextcloud-releases/${appName}/releases/download/v${version}/${appName}-v${version}.tar.gz";
8 sha256 = "sha256-1yf/uSN8TRsYvK3m2pxGaXo9xxHNrI/NjyWJ8rLPQfg=";
9 };
10 groupfolders_14_0_4 = buildApp rec {
11 appName = "groupfolders";
12 version = "14.0.4";
13 url = "https://github.com/nextcloud-releases/${appName}/releases/download/v${version}/${appName}-v${version}.tar.gz";
14 sha256 = "sha256-QzlD8dLI6T7Sex75ZsO2F40nTrg2Ig6tHTG8cslnNME=";
15 };
16 groupfolders_15_0_2 = buildApp rec {
17 appName = "groupfolders";
18 version = "15.0.2";
19 url = "https://github.com/nextcloud-releases/${appName}/releases/download/v${version}/${appName}-v${version}.tar.gz";
20 sha256 = "sha256-NsTZhmY1XBKHn/1IcIp2Al7BwJzE2xoBzgyBXnmuWls=";
21 };
22 groupfolders_15_3_8 = buildApp rec {
23 appName = "groupfolders";
24 version = "15.3.8";
25 url = "https://github.com/nextcloud-releases/${appName}/releases/download/v${version}/${appName}-v${version}.tar.gz";
26 sha256 = "sha256-0R2FN7ba5FI95GWTUeE2JUoYIvSLIsQH/Y+VTqZQn1M=";
27 };
28 groupfolders_16_0_7 = buildApp rec {
29 appName = "groupfolders";
30 version = "16.0.7";
31 url = "https://github.com/nextcloud-releases/${appName}/releases/download/v${version}/${appName}-v${version}.tar.gz";
32 sha256 = "sha256-a22KP20fE+cpOuv2erl3qUu4glWArx5oISFlI8vxAQc=";
33 };
34 groupfolders_17_0_1 = buildApp rec {
35 appName = "groupfolders";
36 version = "17.0.1";
37 url = "https://github.com/nextcloud-releases/${appName}/releases/download/v${version}/${appName}-v${version}.tar.gz";
38 sha256 = "sha256-x9T/JoNJl6LxaPzF9IpKaGrz321nbMSAN3gfZbSapGE=";
39 };
40 versions = {
41 "25" = groupfolders_13_1_5;
42 "26" = groupfolders_14_0_4;
43 "27" = groupfolders_15_0_2;
44 "27_2" = groupfolders_15_3_8;
45 "28" = groupfolders_16_0_7;
46 "29" = groupfolders_17_0_1;
47 };
48 in
49 versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app groupfolders")