18 stdenv.mkDerivation rec {
23 url = "https://www.libsdl.org/projects/SDL_mixer/release/${pname}-${version}.tar.gz";
24 sha256 = "0694vsz5bjkcdgfdra6x9fq8vpzrl8m6q96gh58df7065hw5mkxl";
27 nativeBuildInputs = [ pkg-config ];
29 buildInputs = lib.optionals stdenv.isDarwin [
35 propagatedBuildInputs = [
48 "--disable-music-ogg-shared"
49 "--disable-music-flac-shared"
50 "--disable-music-mod-modplug-shared"
51 "--disable-music-mp3-mpg123-shared"
52 "--disable-music-opus-shared"
53 "--disable-music-midi-fluidsynth-shared"
54 ] ++ lib.optionals stdenv.isDarwin [
60 description = "SDL multi-channel audio mixer library";
61 platforms = platforms.unix;
62 homepage = "https://www.libsdl.org/projects/SDL_mixer/";
63 maintainers = with maintainers; [ MP2E ];
64 license = licenses.zlib;