cava: update to 0.4.1

This commit is contained in:
Andrew Abbott 2016-05-10 19:48:38 +10:00
parent 95c7dd7af9
commit 90201710a2
2 changed files with 21 additions and 10 deletions

View File

@ -237,6 +237,7 @@
michelk = "Michel Kuhlmann <michel@kuhlmanns.info>"; michelk = "Michel Kuhlmann <michel@kuhlmanns.info>";
mingchuan = "Ming Chuan <ming@culpring.com>"; mingchuan = "Ming Chuan <ming@culpring.com>";
mirdhyn = "Merlin Gaillard <mirdhyn@gmail.com>"; mirdhyn = "Merlin Gaillard <mirdhyn@gmail.com>";
mirrexagon = "Andrew Abbott <mirrexagon@mirrexagon.com>";
modulistic = "Pablo Costa <modulistic@gmail.com>"; modulistic = "Pablo Costa <modulistic@gmail.com>";
mog = "Matthew O'Gorman <mog-lists@rldn.net>"; mog = "Matthew O'Gorman <mog-lists@rldn.net>";
moosingin3space = "Nathan Moos <moosingin3space@gmail.com>"; moosingin3space = "Nathan Moos <moosingin3space@gmail.com>";

View File

@ -1,26 +1,36 @@
{ stdenv, fetchgit, alsaLib, fftw }: { stdenv, fetchFromGitHub, autoreconfHook, alsaLib, fftw,
libpulseaudio, ncurses }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cava-${version}"; name = "cava-${version}";
version = "27dbdf47daae44c780db9998c760007b3bf63738"; version = "0.4.1";
buildInputs = [ alsaLib fftw ]; buildInputs = [
alsaLib
fftw
libpulseaudio
ncurses
];
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/karlstav/cava"; owner = "karlstav";
repo = "cava";
rev = version; rev = version;
sha256 = "1a61e2c869376276cf78e6446cd1cc7f96b3e378fa8bc0bc4c5ca81945429909"; sha256 = "157hw4cn3qjic7ymn5vy67paxmzssc33h1zswx72ss7j6nc8707f";
}; };
installPhase = '' nativeBuildInputs = [ autoreconfHook ];
mkdir -p $out/bin
cp cava $out/bin postConfigure = ''
substituteInPlace Makefile \
--replace "-L/usr/local/lib -Wl,-rpath /usr/local/lib" ""
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Console-based Audio Visualizer for Alsa"; description = "Console-based Audio Visualizer for Alsa";
homepage = https://github.com/karlstav/cava; homepage = https://github.com/karlstav/cava;
maintainers = with maintainers; [offline]; license = licenses.mit;
maintainers = with maintainers; [ offline mirrexagon ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }