mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
Merge pull request #291214 from RatCornu/suwayomi-server
suwayomi-server: 0.7.0 -> 1.0.0
This commit is contained in:
commit
9ae4475cff
|
@ -101,6 +101,9 @@ Not all the configuration options are available directly in this module, but you
|
||||||
port = 4567;
|
port = 4567;
|
||||||
autoDownloadNewChapters = false;
|
autoDownloadNewChapters = false;
|
||||||
maxSourcesInParallel" = 6;
|
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 {
|
localSourcePath = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
default = cfg.dataDir;
|
default = cfg.dataDir;
|
||||||
|
|
|
@ -12,12 +12,12 @@ in
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "suwayomi-server";
|
pname = "suwayomi-server";
|
||||||
version = "0.7.0";
|
version = "1.0.0";
|
||||||
revision = 1197;
|
revision = 1498;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/Suwayomi/Suwayomi-Server/releases/download/v${finalAttrs.version}/Tachidesk-Server-v${finalAttrs.version}-r${toString finalAttrs.revision}.jar";
|
url = "https://github.com/Suwayomi/Suwayomi-Server/releases/download/v${finalAttrs.version}/Suwayomi-Server-v${finalAttrs.version}-r${toString finalAttrs.revision}.jar";
|
||||||
hash = "sha256-4DO1WiBCu/8ypFgJdBmEwQXQ1xaWAlbt8N5TELomVVA=";
|
hash = "sha256-CskVYc+byfn3mNzbOX1fCXPpjihtWpoRGBpXDY378c0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue