lol

openttd: add some missing dependencies (#247671)

Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>

authored by

Daniel Hill
Franz Pletz
and committed by
GitHub
71390f9b 1112db61

+15 -7
+15 -7
pkgs/games/openttd/default.nix
··· 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 2 4 , withOpenGFX ? true, withOpenSFX ? true, withOpenMSX ? true 3 - , withFluidSynth ? true, audioDriver ? "alsa", fluidsynth, soundfont-fluid, procps 4 - , writeScriptBin, makeWrapper, runtimeShell 5 - }: 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 }: 6 9 7 10 let 8 11 opengfx = fetchzip { ··· 36 39 hash = "sha256-Kh3roBv+WOIYiHn0UMP6TzgZJxq0m/NI3WZUXwQNFG8="; 37 40 }; 38 41 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 ]; 43 + buildInputs = [ 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 49 + ]; 42 50 43 51 prefixKey = "--prefix-dir="; 44 52