1 { buildApp, nextcloudVersion }:
3 files_markdown_2_3_4 = buildApp rec {
4 appName = "files_markdown";
6 url = "https://github.com/icewind1991/${appName}/releases/download/v${version}/${appName}.tar.gz";
7 sha256 = "09chqlqcyyi9mb3cpjwa3b56sj6ah88119q6v7hvabfpdr41fljf";
9 files_markdown_2_3_5 = buildApp rec {
10 appName = "files_markdown";
12 url = "https://github.com/icewind1991/${appName}/releases/download/v${version}/${appName}.tar.gz";
13 sha256 = "1g6qlf3qbhfl3q0zwwd77y0fkw35fg2a4whhbfvhc5c2nik9zqnb";
16 "20" = files_markdown_2_3_4;
17 "21" = files_markdown_2_3_5;
18 "22" = files_markdown_2_3_5;
19 "23" = files_markdown_2_3_5;
22 versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app files_markdown")