···
1
-
{ lib, stdenv, fetchurl, fetchzip, cmake, SDL2, libpng, zlib, xz, freetype, fontconfig
1
+
{ lib, stdenv, fetchurl, fetchzip, cmake, pkg-config
2
+
, SDL2, libpng, zlib, xz, freetype, fontconfig
3
+
, nlohmann_json, curl, icu, harfbuzz, expat, glib, pcre2
, withOpenGFX ? true, withOpenSFX ? true, withOpenMSX ? true
3
-
, withFluidSynth ? true, audioDriver ? "alsa", fluidsynth, soundfont-fluid, procps
4
-
, writeScriptBin, makeWrapper, runtimeShell
5
+
, withFluidSynth ? true, audioDriver ? "alsa"
6
+
, fluidsynth, soundfont-fluid, libsndfile
7
+
, flac, libogg, libvorbis, libopus, libmpg123, pulseaudio, alsa-lib, libjack2
8
+
, procps, writeScriptBin, makeWrapper, runtimeShell }:
···
hash = "sha256-Kh3roBv+WOIYiHn0UMP6TzgZJxq0m/NI3WZUXwQNFG8=";
39
-
nativeBuildInputs = [ cmake makeWrapper ];
40
-
buildInputs = [ SDL2 libpng xz zlib freetype fontconfig ]
41
-
++ lib.optionals withFluidSynth [ fluidsynth soundfont-fluid ];
42
+
nativeBuildInputs = [ cmake pkg-config makeWrapper ];
44
+
SDL2 libpng xz zlib freetype fontconfig
45
+
nlohmann_json curl icu harfbuzz expat glib pcre2
46
+
] ++ lib.optionals withFluidSynth [
47
+
fluidsynth soundfont-fluid libsndfile
48
+
flac libogg libvorbis libopus libmpg123 pulseaudio alsa-lib libjack2
prefixKey = "--prefix-dir=";