about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2017-01-06 11:37:42 +0100
committerMichael Raskin <7c6f434c@mail.ru>2017-01-06 11:39:35 +0100
commit5ebee164fa9fa4f9ed0a52ba86faf845a6c3f172 (patch)
tree9550c3b6f1566a5a03d30954c03b56550420a1e6
parentf8a1e87e074c3d22a53fb7149dbab84a3b95ad41 (diff)
downloadnixlib-5ebee164fa9fa4f9ed0a52ba86faf845a6c3f172.tar
nixlib-5ebee164fa9fa4f9ed0a52ba86faf845a6c3f172.tar.gz
nixlib-5ebee164fa9fa4f9ed0a52ba86faf845a6c3f172.tar.bz2
nixlib-5ebee164fa9fa4f9ed0a52ba86faf845a6c3f172.tar.lz
nixlib-5ebee164fa9fa4f9ed0a52ba86faf845a6c3f172.tar.xz
nixlib-5ebee164fa9fa4f9ed0a52ba86faf845a6c3f172.tar.zst
nixlib-5ebee164fa9fa4f9ed0a52ba86faf845a6c3f172.zip
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?
-rw-r--r--pkgs/servers/mpd/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/servers/mpd/default.nix b/pkgs/servers/mpd/default.nix
index 4b26b92cdb29..5b2195b3d7eb 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;