blob: c39867f7a575eab399ff88dcb6439750ae7b2401 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{
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";
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;
tests.version = testers.testVersion {
package = audiothekar;
command = "audiothekar-cli --version";
};
};
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";
};
}
|