nixpkgs/pkgs/applications/audio/cava/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
752 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, alsa-lib, fftw,
2022-10-31 03:08:52 +00:00
libpulseaudio, ncurses, iniparser }:
stdenv.mkDerivation rec {
pname = "cava";
2023-08-13 21:54:04 +00:00
version = "0.9.0";
2016-05-10 09:48:38 +00:00
buildInputs = [
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
];
2016-05-10 09:48:38 +00:00
src = fetchFromGitHub {
owner = "karlstav";
repo = "cava";
rev = version;
2023-08-13 21:54:04 +00:00
sha256 = "sha256-mIgkvgVcbRdE29lSLojIzIsnwZgnQ+B2sgScDWrLyd8=";
};
2016-05-10 09:48:38 +00:00
nativeBuildInputs = [ autoreconfHook ];
meta = with lib; {
description = "Console-based Audio Visualizer for Alsa";
homepage = "https://github.com/karlstav/cava";
2016-05-10 09:48:38 +00:00
license = licenses.mit;
maintainers = with maintainers; [ offline mirrexagon ];
platforms = platforms.linux;
mainProgram = "cava";
};
}