blob: 7677c6ceb6e74384c4e615fb5d31f74749b3fd8e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ buildApp, nextcloudVersion }:
let
notes_4_8_1 = buildApp rec {
appName = "notes";
version = "4.8.1";
url = "https://github.com/nextcloud/${appName}/releases/download/v${version}/${appName}.tar.gz";
sha256 = "sha256-BfH1W+7TWKZRuAAhKQEQtlv8ePTtJQvZQVMMu3zULR4=";
};
versions = {
"25" = notes_4_8_1;
"26" = notes_4_8_1;
"27" = notes_4_8_1;
};
in
versions."${builtins.toString nextcloudVersion}" or (throw "Unsupported version for nextcloud app notes")
|