1{
2 lib,
3 buildGoModule,
4 fetchzip,
5 pkg-config,
6 alsa-lib,
7}:
8buildGoModule {
9 name = "termsonic";
10 version = "0-unstable-2025-01-07";
11
12 src = fetchzip {
13 url = "https://git.sixfoisneuf.fr/termsonic/snapshot/termsonic-1dd63d453b109c79967726106035cda9744bbe11.zip";
14 hash = "sha256-HPI4G+bGHejTwVsb8YIU6b7KnIrkqzDf8zZQAWmcfks=";
15 };
16
17 vendorHash = "sha256-+v7i69b4d11IGnraE6ROscFmqCVLHnkyI2pW+NS1v8k=";
18
19 nativeBuildInputs = [ pkg-config ];
20
21 buildInputs = [ alsa-lib ];
22
23 strictDeps = true;
24
25 meta = with lib; {
26 homepage = "https://git.sixfoisneuf.fr/termsonic";
27 description = "Subsonic client running in your terminal";
28 license = licenses.gpl3Plus;
29 platforms = platforms.unix;
30 mainProgram = "termsonic";
31 maintainers = with maintainers; [ mksafavi ];
32 };
33}