Merge pull request #291214 from RatCornu/suwayomi-server

suwayomi-server: 0.7.0 -> 1.0.0
This commit is contained in:
Sandro
2024-03-23 17:56:19 +01:00
committed by GitHub
3 changed files with 18 additions and 4 deletions
@@ -101,6 +101,9 @@ Not all the configuration options are available directly in this module, but you
port = 4567;
autoDownloadNewChapters = false;
maxSourcesInParallel" = 6;
extensionRepos = [
"https://raw.githubusercontent.com/MY_ACCOUNT/MY_REPO/repo/index.min.json"
];
};
};
};
@@ -102,6 +102,17 @@ in
'';
};
extensionRepos = mkOption {
type = types.listOf types.str;
default = [];
example = [
"https://raw.githubusercontent.com/MY_ACCOUNT/MY_REPO/repo/index.min.json"
];
description = mdDoc ''
URL of repositories from which the extensions can be installed.
'';
};
localSourcePath = mkOption {
type = types.path;
default = cfg.dataDir;
+4 -4
View File
@@ -12,12 +12,12 @@ in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "suwayomi-server";
version = "0.7.0";
revision = 1197;
version = "1.0.0";
revision = 1498;
src = fetchurl {
url = "https://github.com/Suwayomi/Suwayomi-Server/releases/download/v${finalAttrs.version}/Tachidesk-Server-v${finalAttrs.version}-r${toString finalAttrs.revision}.jar";
hash = "sha256-4DO1WiBCu/8ypFgJdBmEwQXQ1xaWAlbt8N5TELomVVA=";
url = "https://github.com/Suwayomi/Suwayomi-Server/releases/download/v${finalAttrs.version}/Suwayomi-Server-v${finalAttrs.version}-r${toString finalAttrs.revision}.jar";
hash = "sha256-CskVYc+byfn3mNzbOX1fCXPpjihtWpoRGBpXDY378c0=";
};
nativeBuildInputs = [