diff options
author | aszlig <aszlig@redmoonstudios.org> | 2014-08-29 19:53:56 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2014-08-29 20:21:10 +0200 |
commit | 0ffa7dc0f28f7aaf517f68c5c6812272cbb822ed (patch) | |
tree | 5987be3e5d2c1784a83eb1e3baf50527e3d57271 /pkgs/applications | |
parent | 4cb061111cfed82e151cfe82b25a68777629faa7 (diff) |
sox: Enable support for FLAC and PNG.
In case you wonder: PNG support is needed for example to generate
spectograms.
For example:
sox shiny-song.flac -n spectrogram -o even-shinier.png
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/misc/audio/sox/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/misc/audio/sox/default.nix b/pkgs/applications/misc/audio/sox/default.nix index 0663937c4795..1f86a4164f69 100644 --- a/pkgs/applications/misc/audio/sox/default.nix +++ b/pkgs/applications/misc/audio/sox/default.nix @@ -4,6 +4,8 @@ , enableLame ? false, lame ? null , enableLibmad ? true, libmad ? null , enableLibogg ? true, libogg ? null, libvorbis ? null +, enableFLAC ? true, flac ? null +, enablePNG ? true, libpng ? null }: with stdenv.lib; @@ -21,7 +23,9 @@ stdenv.mkDerivation rec { optional enableLibao libao ++ optional enableLame lame ++ optional enableLibmad libmad ++ - optionals enableLibogg [ libogg libvorbis ]; + optionals enableLibogg [ libogg libvorbis ] ++ + optional enableFLAC flac ++ + optional enablePNG libpng; meta = { description = "Sample Rate Converter for audio"; |