diff --git a/.gitignore b/.gitignore index cf00b5c57..3e170137b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ __pycache__/ /.clangd/ /compile_commands.json + +result \ No newline at end of file diff --git a/shell.nix b/shell.nix new file mode 100644 index 000000000..0a45aabc5 --- /dev/null +++ b/shell.nix @@ -0,0 +1,79 @@ +{ pkgs ? import { } }: +pkgs.mkShell { + nativeBuildInputs = with pkgs; [ + meson + ninja + pkg-config + + # For documentation + doxygen + python3Packages.sphinx + ]; + + buildInputs = with pkgs; [ + glib + systemd + boost + fmt + + # Inputs + curl + libmms + libnfs + liburing + samba + + # Archive support + bzip2 + zziplib + + # Codecs + audiofile + faad2 + ffmpeg + flac + fluidsynth + game-music-emu + libmad + libmikmod + mpg123 + libopus + libvorbis + lame + + # Filters + libsamplerate + soxr + + # Outputs + alsa-lib + libjack2 + libpulseaudio + libshout + pipewire + + # Misc + icu + sqlite + avahi + dbus + pcre2 + libgcrypt + expat + + # Services + # yajl # This is broken, maybe because of the fork used in nixpkgs? + + # Client support + libmpdclient + + # Tag support + libid3tag + + # For tests + gtest + zip + ]; + + hardeningDisable = [ "fortify" ]; +}