Merge pull request #24292 from elitak/pulse-sox

sox: added enableLibpulseaudio option
This commit is contained in:
Michael Raskin 2017-03-24 15:57:41 +01:00 committed by GitHub
commit 201f3efccf

View File

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