cliamp: init at 1.20.1 (#497321)
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user