@@ -1,4 +1,4 @@
1−{ stdenv, lib, fetchurl, SDL2, libogg, libvorbis, enableNativeMidi ? false }:
1+{ stdenv, lib, fetchurl, SDL2, libogg, libvorbis, smpeg, flac, enableNativeMidi ? false, fluidsynth ? null }:
22
33stdenv.mkDerivation rec {
44 name = "SDL2_mixer-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "0pv9jzjpcjlbiaybvwrb4avmv46qk7iqxlnqrd2dfj82c4mgc92s";
1010 };
1111
12− propagatedBuildInputs = [ SDL2 libogg libvorbis ];
12+ propagatedBuildInputs = [ SDL2 libogg libvorbis fluidsynth smpeg flac ];
1313
1414 configureFlags = [ "--disable-music-ogg-shared" ] ++ lib.optional enableNativeMidi "--enable-music-native-midi-gpl";
1515
@@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
1717 description = "SDL multi-channel audio mixer library";
1818 platforms = platforms.linux;
1919 homepage = "https://www.libsdl.org/projects/SDL_mixer/";
20+ maintainers = with maintainers; [ MP2E ];
2021 license = licenses.zlib;
2122 };
2223}