3
0
Fork 0
forked from mirrors/nixpkgs

mpd: 0.22.11 -> 0.23.2, activate pipewire

This commit is contained in:
joachimschmidt557 2021-10-24 17:01:22 +02:00 committed by Sandro Jäckel
parent e83a6a94fa
commit 86d572c86a
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, glib, systemd, boost
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, glib, systemd, boost, fmt
# Darwin inputs
, AudioToolbox, AudioUnit
# Inputs
@ -11,7 +11,7 @@
# Filters
, libsamplerate
# Outputs
, alsa-lib, libjack2, libpulseaudio, libshout
, alsa-lib, libjack2, libpulseaudio, libshout, pipewire
# Misc
, icu, sqlite, avahi, dbus, pcre, libgcrypt, expat
# Services
@ -65,6 +65,7 @@ let
# Output plugins
alsa = [ alsa-lib ];
jack = [ libjack2 ];
pipewire = [ pipewire ];
pulse = [ libpulseaudio ];
shout = [ libshout ];
# Commercial services
@ -116,18 +117,19 @@ let
in stdenv.mkDerivation rec {
pname = "mpd";
version = "0.22.11";
version = "0.23.2";
src = fetchFromGitHub {
owner = "MusicPlayerDaemon";
repo = "MPD";
rev = "v${version}";
sha256 = "sha256-X+FnZ5W1p9GuOSIxTSp1Yok+kKsLjNPOKZkJSCYk8kM=";
sha256 = "sha256-gn06t8S0hh5xe5V1vnXVHSb0FwxY40onUV+Bt7oL9ic=";
};
buildInputs = [
glib
boost
fmt
# According to the configurePhase of meson, gtest is considered a
# runtime dependency. Quoting:
#