From 5ebee164fa9fa4f9ed0a52ba86faf845a6c3f172 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Fri, 6 Jan 2017 11:37:42 +0100 Subject: [PATCH] mpd: 0.9.19 -> 0.20 Add support for no-minor-version @grahamc: This includes 0.19.21 fix for some ffmpeg-related crash, do we expect this to be a security issue worth updating in stable? Is it OK to just put 0.20 there or do we want to have 0.9.21 bugfix release there? --- pkgs/servers/mpd/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/mpd/default.nix b/pkgs/servers/mpd/default.nix index 4b26b92cdb2..5b2195b3d7e 100644 --- a/pkgs/servers/mpd/default.nix +++ b/pkgs/servers/mpd/default.nix @@ -29,14 +29,14 @@ let opt = stdenv.lib.optional; mkFlag = c: f: if c then "--enable-${f}" else "--disable-${f}"; - major = "0.19"; - minor = "19"; + major = "0.20"; + minor = ""; in stdenv.mkDerivation rec { - name = "mpd-${major}.${minor}"; + name = "mpd-${major}${if minor == "" then "" else "." + minor}"; src = fetchurl { url = "http://www.musicpd.org/download/mpd/${major}/${name}.tar.xz"; - sha256 = "07af1m2lgblyiq0gcs26zv8n22wrhrpmf49xsm338h1n87d6r1dw"; + sha256 = "068nxsfkp2ppcjh3fmcbapkiwnjpvkii73bfydpw4bf2yphdvsa8"; }; patches = stdenv.lib.optionals stdenv.isDarwin ./darwin-enable-cxx-exceptions.patch;