projects/mpd: init

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-05 13:25:57 +01:00
parent 5a65f05338
commit eef7d52e6d
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 82 additions and 0 deletions

View File

@ -30,6 +30,8 @@
devShells = forAllSystems (system: pkgs: {
rust = pkgs.callPackage ./generic/rust/shell.nix { };
rust-nightly = pkgs.callPackage ./generic/rust/shell.nix { rust-channel = "nightly"; };
github-MusicPlayerDaemon-MPD = pkgs.callPackage ./projects/github/MusicPlayerDaemon/MPD/shell.nix { };
});
};
}

View File

@ -0,0 +1,80 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
meson
ninja
pkg-config
# For documentation
doxygen
python3Packages.sphinx
python3Packages.sphinx-rtd-theme
];
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" ];
}