Skip to content

Commit

Permalink
mpd: 0.9.19 -> 0.20
Browse files Browse the repository at this point in the history
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?
  • Loading branch information
7c6f434c committed Jan 6, 2017
1 parent f8a1e87 commit 5ebee16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/servers/mpd/default.nix
Expand Up @@ -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;
Expand Down

0 comments on commit 5ebee16

Please sign in to comment.