libsndfile: enable MP3 support

This commit is contained in:
Nguyễn Gia Phong
2023-03-20 22:05:14 +01:00
committed by Sandro Jäckel
parent dd922563af
commit 9f6d48ae2e
@@ -1,4 +1,5 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, autogen, flac, libogg, libopus, libvorbis, pkg-config, python3
{ lib, stdenv, fetchFromGitHub, autoreconfHook, autogen, pkg-config, python3
, flac, lame, libmpg123, libogg, libopus, libvorbis
, Carbon, AudioToolbox
}:
@@ -14,7 +15,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ autoreconfHook autogen pkg-config python3 ];
buildInputs = [ flac libogg libopus libvorbis ]
buildInputs = [ flac lame libmpg123 libogg libopus libvorbis ]
++ lib.optionals stdenv.isDarwin [ Carbon AudioToolbox ];
enableParallelBuilding = true;