cliamp: init at 1.20.1 (#497321)

This commit is contained in:
Sandro
2026-03-17 16:14:54 +00:00
committed by GitHub
2 changed files with 63 additions and 0 deletions
+6
View File
@@ -26047,6 +26047,12 @@
matrix = "@superherointj:matrix.org";
name = "Sérgio Marcelo";
};
supermarin = {
email = "git+nixpkgs@mar.in";
name = "marin";
github = "supermarin";
githubId = 627285;
};
SuperSandro2000 = {
email = "sandro.jaeckel@gmail.com";
matrix = "@sandro:supersandro.de";
+57
View File
@@ -0,0 +1,57 @@
{
lib,
buildGoModule,
fetchFromGitHub,
pkg-config,
makeWrapper,
alsa-lib,
libogg,
libvorbis,
ffmpeg,
flac,
yt-dlp,
}:
buildGoModule (finalAttrs: {
pname = "cliamp";
version = "1.20.1";
src = fetchFromGitHub {
owner = "bjarneo";
repo = "cliamp";
tag = "v${finalAttrs.version}";
hash = "sha256-jT9nc2oBsQxJfDgncdnf668IzkUsvXI2G8DZNGQcWr0=";
};
vendorHash = "sha256-UMDCpfSGfvJmI+sImaFzgZpLNaLMgEnmGCqERwPokHM=";
nativeBuildInputs = [
pkg-config
makeWrapper
];
buildInputs = [
alsa-lib
libogg
libvorbis
flac
];
postInstall = ''
wrapProgram $out/bin/cliamp \
--prefix PATH : ${
lib.makeBinPath [
ffmpeg
yt-dlp
]
}
'';
meta = {
description = "Terminal Winamp - a retro terminal music player inspired by Winamp 2.x";
homepage = "https://github.com/bjarneo/cliamp";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ supermarin ];
mainProgram = "cliamp";
};
})