mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
cava: update to 0.4.1
This commit is contained in:
parent
95c7dd7af9
commit
90201710a2
|
@ -237,6 +237,7 @@
|
|||
michelk = "Michel Kuhlmann <michel@kuhlmanns.info>";
|
||||
mingchuan = "Ming Chuan <ming@culpring.com>";
|
||||
mirdhyn = "Merlin Gaillard <mirdhyn@gmail.com>";
|
||||
mirrexagon = "Andrew Abbott <mirrexagon@mirrexagon.com>";
|
||||
modulistic = "Pablo Costa <modulistic@gmail.com>";
|
||||
mog = "Matthew O'Gorman <mog-lists@rldn.net>";
|
||||
moosingin3space = "Nathan Moos <moosingin3space@gmail.com>";
|
||||
|
|
|
@ -1,26 +1,36 @@
|
|||
{ stdenv, fetchgit, alsaLib, fftw }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, alsaLib, fftw,
|
||||
libpulseaudio, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cava-${version}";
|
||||
version = "27dbdf47daae44c780db9998c760007b3bf63738";
|
||||
version = "0.4.1";
|
||||
|
||||
buildInputs = [ alsaLib fftw ];
|
||||
buildInputs = [
|
||||
alsaLib
|
||||
fftw
|
||||
libpulseaudio
|
||||
ncurses
|
||||
];
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/karlstav/cava";
|
||||
src = fetchFromGitHub {
|
||||
owner = "karlstav";
|
||||
repo = "cava";
|
||||
rev = version;
|
||||
sha256 = "1a61e2c869376276cf78e6446cd1cc7f96b3e378fa8bc0bc4c5ca81945429909";
|
||||
sha256 = "157hw4cn3qjic7ymn5vy67paxmzssc33h1zswx72ss7j6nc8707f";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp cava $out/bin
|
||||
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;
|
||||
maintainers = with maintainers; [offline];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ offline mirrexagon ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue