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

(cherry picked from commit 5ebee16)
manual merge fixes
  • Loading branch information
7c6f434c committed Jan 7, 2017
1 parent ecaaea6 commit 555f6f6
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 = "15";
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 = "12wvqb5r3q77x78wigmrsz3vv8rykcfnavffcvlqq0sbi4is5f8c";
sha256 = "068nxsfkp2ppcjh3fmcbapkiwnjpvkii73bfydpw4bf2yphdvsa8";
};

patches = stdenv.lib.optionals stdenv.isDarwin ./darwin-enable-cxx-exceptions.patch;
Expand Down

0 comments on commit 555f6f6

Please sign in to comment.