20 withPipewire ? stdenv.hostPlatform.isLinux,
23 stdenv.mkDerivation rec {
27 src = fetchFromGitHub {
31 hash = "sha256-y6RslsU/zmr0Ai/rnr73N3OtjuBcWa3JCwh9P5GkNss=";
42 ++ lib.optionals stdenv.hostPlatform.isLinux [
45 ++ lib.optionals stdenv.hostPlatform.isDarwin [
48 ++ lib.optionals withSDL2 [
52 ++ lib.optionals withPipewire [
62 doInstallCheck = true;
63 versionCheckProgramArg = "-v";
66 echo ${version} > version
70 description = "Console-based Audio Visualizer for Alsa";
71 homepage = "https://github.com/karlstav/cava";
72 license = licenses.mit;
73 maintainers = with maintainers; [
77 platforms = platforms.unix;