diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-09-07 11:19:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 11:19:53 +0200 |
commit | ef14cdd5b929963d9117def6cc888a1444de5541 (patch) | |
tree | 6276175b58d819daf70e5a3ca1915fb799b53a9d /pkgs/applications/audio | |
parent | d8a8548210a9cbcd7dc6114f039df38f58d280a7 (diff) | |
parent | 8a106b44eb47b4ae5556167f8aab0f5e4ed6b8b6 (diff) |
Merge pull request #249930 from Arjun31415/update-cava
cava: add SDL2 library, Pipewire and OpenGL during build
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/cava/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/audio/cava/default.nix b/pkgs/applications/audio/cava/default.nix index 87d1b3ba9d8b9..3acc83d6a65e8 100644 --- a/pkgs/applications/audio/cava/default.nix +++ b/pkgs/applications/audio/cava/default.nix @@ -2,12 +2,18 @@ , stdenv , fetchFromGitHub , autoreconfHook +, autoconf-archive , alsa-lib , fftw , iniparser , libpulseaudio +, pipewire , ncurses , pkgconf +, SDL2 +, libGL +, withSDL2 ? false +, withPipewire ? false }: stdenv.mkDerivation rec { @@ -27,10 +33,16 @@ stdenv.mkDerivation rec { libpulseaudio ncurses iniparser + ] ++ lib.optionals withSDL2 [ + SDL2 + libGL + ] ++ lib.optionals withPipewire [ + pipewire ]; nativeBuildInputs = [ autoreconfHook + autoconf-archive pkgconf ]; |