suwayomi-server: 1.1.1 -> 2.1.1867
This commit is contained in:
@@ -17,11 +17,6 @@ let
|
|||||||
settings.server.port = 1234;
|
settings.server.port = 1234;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
testScript = ''
|
|
||||||
machine.wait_for_unit("suwayomi-server.service")
|
|
||||||
machine.wait_for_open_port(1234)
|
|
||||||
machine.succeed("curl --fail http://localhost:1234/")
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
@@ -29,6 +24,12 @@ in
|
|||||||
without-auth = makeTest (
|
without-auth = makeTest (
|
||||||
recursiveUpdate baseTestConfig {
|
recursiveUpdate baseTestConfig {
|
||||||
name = "suwayomi-server-without-auth";
|
name = "suwayomi-server-without-auth";
|
||||||
|
|
||||||
|
testScript = ''
|
||||||
|
machine.wait_for_unit("suwayomi-server.service")
|
||||||
|
machine.wait_for_open_port(1234)
|
||||||
|
machine.succeed("curl --fail http://localhost:1234/")
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -50,6 +51,12 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
testScript = ''
|
||||||
|
machine.wait_for_unit("suwayomi-server.service")
|
||||||
|
machine.wait_for_open_port(1234)
|
||||||
|
machine.succeed("curl --fail -u alice:pass http://localhost:1234/")
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,22 +3,21 @@
|
|||||||
stdenvNoCC,
|
stdenvNoCC,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
jdk17_headless,
|
jdk21_headless,
|
||||||
nixosTests,
|
nixosTests,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
jdk = jdk17_headless;
|
jdk = jdk21_headless;
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "suwayomi-server";
|
pname = "suwayomi-server";
|
||||||
version = "1.1.1";
|
version = "2.1.1867";
|
||||||
revision = 1535;
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/Suwayomi/Suwayomi-Server/releases/download/v${finalAttrs.version}/Suwayomi-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}.jar";
|
||||||
hash = "sha256-mPzREuH89RGhZLK+5aIPuq1gmNGc9MGG0wh4ZV5dLTg=";
|
hash = "sha256-UeMHwlgeThoAKZGrPjp3UDyLB0xCaVmHqYSnOC0Kxa8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@@ -42,9 +41,9 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Free and open source manga reader server that runs extensions built for Tachiyomi";
|
description = "Free and open source manga reader server that runs extensions built for Mihon (Tachiyomi)";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Suwayomi is an independent Tachiyomi compatible software and is not a Fork of Tachiyomi.
|
Suwayomi is an independent Mihon (Tachiyomi) compatible software and is not a Fork of Mihon (Tachiyomi).
|
||||||
|
|
||||||
Suwayomi-Server is as multi-platform as you can get. Any platform that runs java and/or has a modern browser can run it. This includes Windows, Linux, macOS, chrome OS, etc.
|
Suwayomi-Server is as multi-platform as you can get. Any platform that runs java and/or has a modern browser can run it. This includes Windows, Linux, macOS, chrome OS, etc.
|
||||||
'';
|
'';
|
||||||
@@ -53,6 +52,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||||||
changelog = "https://github.com/Suwayomi/Suwayomi-Server/releases/tag/v${finalAttrs.version}";
|
changelog = "https://github.com/Suwayomi/Suwayomi-Server/releases/tag/v${finalAttrs.version}";
|
||||||
license = licenses.mpl20;
|
license = licenses.mpl20;
|
||||||
platforms = jdk.meta.platforms;
|
platforms = jdk.meta.platforms;
|
||||||
|
sourceProvenance = [ sourceTypes.binaryBytecode ];
|
||||||
maintainers = with maintainers; [ ratcornu ];
|
maintainers = with maintainers; [ ratcornu ];
|
||||||
mainProgram = "tachidesk-server";
|
mainProgram = "tachidesk-server";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user