···1{ stdenv, lib, fetchFromGitHub, cmake, pkg-config
2, alsa-lib, asio, avahi, boost17x, flac, libogg, libvorbis, soxr
03, nixosTests }:
0045let
6···50 boost17x
51 alsa-lib asio avahi flac libogg libvorbis
52 aixlog popl soxr
53- ];
5455 # Upstream systemd unit files are pretty awful, so we provide our own in a
56 # NixOS module. It might make sense to get that upstreamed...
···1{ stdenv, lib, fetchFromGitHub, cmake, pkg-config
2, alsa-lib, asio, avahi, boost17x, flac, libogg, libvorbis, soxr
3+, pulseaudioSupport ? false, libpulseaudio
4, nixosTests }:
5+6+assert pulseaudioSupport -> libpulseaudio != null;
78let
9···53 boost17x
54 alsa-lib asio avahi flac libogg libvorbis
55 aixlog popl soxr
56+ ] ++ lib.optional pulseaudioSupport libpulseaudio;
5758 # Upstream systemd unit files are pretty awful, so we provide our own in a
59 # NixOS module. It might make sense to get that upstreamed...