diff options
author | Naïm Favier <n@monade.li> | 2022-01-22 17:36:47 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2022-01-22 20:13:18 +0100 |
commit | e2686f5ab3881a366e6894293d1ee4aecfcb2d09 (patch) | |
tree | 359c40fcf15ea9acdde89c2faa97e65eeef60be1 /pkgs/applications/audio/mpc | |
parent | 1518fb9e1839a7a731b10f4fb711b846836d5224 (diff) |
mpc_cli: fix build with meson 0.60
Adds upstream patch from https://github.com/MusicPlayerDaemon/mpc/pull/76 to make the dependency on rsync optional.
Diffstat (limited to 'pkgs/applications/audio/mpc')
-rw-r--r-- | pkgs/applications/audio/mpc/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mpc/default.nix b/pkgs/applications/audio/mpc/default.nix index 0511367db3b82..82f349216fe4f 100644 --- a/pkgs/applications/audio/mpc/default.nix +++ b/pkgs/applications/audio/mpc/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , meson , ninja , pkg-config @@ -20,6 +21,14 @@ stdenv.mkDerivation rec { sha256 = "sha256-2FjYBfak0IjibuU+CNQ0y9Ei8hTZhynS/BK2DNerhVw="; }; + patches = [ + # fix the build with meson 0.60 (https://github.com/MusicPlayerDaemon/mpc/pull/76) + (fetchpatch { + url = "https://github.com/MusicPlayerDaemon/mpc/commit/b656ca4b6c2a0d5b6cebd7f7daa679352f664e0e.patch"; + sha256 = "sha256-fjjSlCKxgkz7Em08CaK7+JAzl8YTzLcpGGMz2HJlsVw="; + }) + ]; + buildInputs = [ libmpdclient ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; nativeBuildInputs = [ meson ninja pkg-config sphinx ]; |