Add cava, console-based Audio Visualizer for Alsa
This commit is contained in:
parent
e1383d0833
commit
8b512261be
26
pkgs/applications/audio/cava/default.nix
Normal file
26
pkgs/applications/audio/cava/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchgit, alsaLib, fftw }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cava-${version}";
|
||||
version = "27dbdf47daae44c780db9998c760007b3bf63738";
|
||||
|
||||
buildInputs = [ alsaLib fftw ];
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/karlstav/cava";
|
||||
rev = version;
|
||||
sha256 = "1a61e2c869376276cf78e6446cd1cc7f96b3e378fa8bc0bc4c5ca81945429909";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp cava $out/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Console-based Audio Visualizer for Alsa";
|
||||
homepage = https://github.com/karlstav/cava;
|
||||
maintainers = with maintainers; [offline];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
@ -9196,6 +9196,8 @@ let
|
||||
};
|
||||
funpidgin = carrier;
|
||||
|
||||
cava = callPackage ../applications/audio/cava { };
|
||||
|
||||
cc1394 = callPackage ../applications/video/cc1394 { };
|
||||
|
||||
cddiscid = callPackage ../applications/audio/cd-discid { };
|
||||
|
Loading…
Reference in New Issue
Block a user