Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
58 lines
1.4 KiB
Nix
58 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildDotnetModule,
|
|
dotnetCorePackages,
|
|
audiothekar,
|
|
testers,
|
|
}:
|
|
|
|
buildDotnetModule rec {
|
|
pname = "audiothekar";
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fxsth";
|
|
repo = "audiothekar";
|
|
tag = "v${version}";
|
|
sha256 = "sha256-DZ4E8numXJdkvX5WYM6cioW5J89YuD9Hi8NfK+Z39cY=";
|
|
};
|
|
|
|
projectFile = "Audiothekar.sln";
|
|
|
|
# > Unable to use package assets cache due to I/O error. This can occur when
|
|
# > the same project is built more than once in parallel. Performance may be
|
|
# > degraded, but the build result will not be impacted.
|
|
enableParallelBuilding = false;
|
|
|
|
doCheck = false;
|
|
|
|
nugetDeps = ./deps.json;
|
|
|
|
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
|
dotnet-runtime = dotnetCorePackages.runtime_8_0;
|
|
|
|
postInstall = ''
|
|
install -m 644 -D -t "$out/share/doc/${pname}" License.md
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = ./update.sh;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Download-Client für die ARD-Audiothek";
|
|
longDescription = ''
|
|
Audiothekar is a command line client to browse and download programs from
|
|
German public broadcast online offering at https://www.ardaudiothek.de/.
|
|
'';
|
|
homepage = "https://github.com/fxsth/Audiothekar";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [
|
|
wamserma
|
|
];
|
|
platforms = [ "x86_64-linux" ]; # needs some work to enable dotnet-sdk.meta.platforms;
|
|
mainProgram = "audiothekar-cli";
|
|
};
|
|
}
|