1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/audio/cava/default.nix

37 lines
835 B
Nix
Raw Normal View History

2016-05-10 10:48:38 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook, alsaLib, fftw,
libpulseaudio, ncurses }:
stdenv.mkDerivation rec {
name = "cava-${version}";
2016-10-05 05:25:03 +01:00
version = "0.4.2";
2016-05-10 10:48:38 +01:00
buildInputs = [
alsaLib
fftw
libpulseaudio
ncurses
];
2016-05-10 10:48:38 +01:00
src = fetchFromGitHub {
owner = "karlstav";
repo = "cava";
rev = version;
2016-10-05 05:25:03 +01:00
sha256 = "1c5gl8ghmd89f6097rjd2dzrgh1z4i4v9m4vn5wkpnnm68b96yyc";
};
2016-05-10 10:48:38 +01:00
nativeBuildInputs = [ autoreconfHook ];
postConfigure = ''
substituteInPlace Makefile \
--replace "-L/usr/local/lib -Wl,-rpath /usr/local/lib" ""
'';
meta = with stdenv.lib; {
description = "Console-based Audio Visualizer for Alsa";
homepage = https://github.com/karlstav/cava;
2016-05-10 10:48:38 +01:00
license = licenses.mit;
maintainers = with maintainers; [ offline mirrexagon ];
platforms = platforms.linux;
};
}