2021-06-10 02:57:09 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, alsa-lib, fftw,
|
2022-10-31 03:08:52 +00:00
|
|
|
libpulseaudio, ncurses, iniparser }:
|
2014-12-11 23:09:24 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "cava";
|
2023-08-13 21:54:04 +00:00
|
|
|
version = "0.9.0";
|
2014-12-11 23:09:24 +00:00
|
|
|
|
2016-05-10 09:48:38 +00:00
|
|
|
buildInputs = [
|
2021-06-10 02:57:09 +00:00
|
|
|
alsa-lib
|
2016-05-10 09:48:38 +00:00
|
|
|
fftw
|
|
|
|
libpulseaudio
|
|
|
|
ncurses
|
2022-10-31 03:08:52 +00:00
|
|
|
iniparser
|
2016-05-10 09:48:38 +00:00
|
|
|
];
|
2014-12-11 23:09:24 +00:00
|
|
|
|
2016-05-10 09:48:38 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "karlstav";
|
|
|
|
repo = "cava";
|
2014-12-11 23:09:24 +00:00
|
|
|
rev = version;
|
2023-08-13 21:54:04 +00:00
|
|
|
sha256 = "sha256-mIgkvgVcbRdE29lSLojIzIsnwZgnQ+B2sgScDWrLyd8=";
|
2014-12-11 23:09:24 +00:00
|
|
|
};
|
|
|
|
|
2016-05-10 09:48:38 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-12-11 23:09:24 +00:00
|
|
|
description = "Console-based Audio Visualizer for Alsa";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/karlstav/cava";
|
2016-05-10 09:48:38 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ offline mirrexagon ];
|
2015-11-17 20:29:29 +00:00
|
|
|
platforms = platforms.linux;
|
2023-08-04 15:54:47 +00:00
|
|
|
mainProgram = "cava";
|
2014-12-11 23:09:24 +00:00
|
|
|
};
|
|
|
|
}
|