shoko: init at 5.1.0
This commit is contained in:
Generated
+2137
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,57 @@
|
||||
{
|
||||
buildDotnetModule,
|
||||
fetchFromGitHub,
|
||||
dotnet-sdk_8,
|
||||
dotnet-aspnetcore_8,
|
||||
nixosTests,
|
||||
lib,
|
||||
mediainfo,
|
||||
rhash,
|
||||
nix-update-script,
|
||||
}:
|
||||
buildDotnetModule (finalAttrs: {
|
||||
pname = "shoko";
|
||||
version = "5.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ShokoAnime";
|
||||
repo = "ShokoServer";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ZO5S0zMwzr4giaO1bmQ4dLBIPrv6eZY7k9Os4GiO4C4=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
dotnet-sdk = dotnet-sdk_8;
|
||||
dotnet-runtime = dotnet-aspnetcore_8;
|
||||
|
||||
nugetDeps = ./deps.json;
|
||||
projectFile = "Shoko.CLI/Shoko.CLI.csproj";
|
||||
dotnetBuildFlags = "/p:InformationalVersion=\"channel=stable\"";
|
||||
|
||||
executables = [ "Shoko.CLI" ];
|
||||
makeWrapperArgs = [
|
||||
"--prefix"
|
||||
"PATH"
|
||||
":"
|
||||
"${mediainfo}/bin"
|
||||
];
|
||||
runtimeDeps = [ rhash ];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests.shoko = nixosTests.shoko;
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/ShokoAnime/ShokoServer";
|
||||
changelog = "https://github.com/ShokoAnime/ShokoServer/releases/tag/v${finalAttrs.version}";
|
||||
description = "Backend for the Shoko anime management system";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "Shoko.CLI";
|
||||
maintainers = with lib.maintainers; [
|
||||
diniamo
|
||||
nanoyaki
|
||||
];
|
||||
inherit (dotnet-sdk_8.meta) platforms;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user