sox: added enableLibpulseaudio option

This commit is contained in:
Eric Litak 2017-03-24 07:46:16 -07:00
parent f815a7697e
commit 92a8c86647

View File

@ -9,6 +9,7 @@
, enableLibsndfile ? true, libsndfile ? null , enableLibsndfile ? true, libsndfile ? null
# amrnb and amrwb are unfree, disabled by default # amrnb and amrwb are unfree, disabled by default
, enableAMR ? false, amrnb ? null, amrwb ? null , enableAMR ? false, amrnb ? null, amrwb ? null
, enableLibpulseaudio ? true, libpulseaudio ? null
}: }:
with stdenv.lib; with stdenv.lib;
@ -30,7 +31,8 @@ stdenv.mkDerivation rec {
optional enableFLAC flac ++ optional enableFLAC flac ++
optional enablePNG libpng ++ optional enablePNG libpng ++
optional enableLibsndfile libsndfile ++ optional enableLibsndfile libsndfile ++
optionals enableAMR [ amrnb amrwb ]; optionals enableAMR [ amrnb amrwb ] ++
optional enableLibpulseaudio libpulseaudio;
meta = { meta = {
description = "Sample Rate Converter for audio"; description = "Sample Rate Converter for audio";