mpd_clientlib: 2.10 -> 2.11

Upstream has moved to github as well.
This commit is contained in:
Peter Hoeg 2017-06-09 12:54:29 +08:00
parent c87f034977
commit 207ac3c7b8

View File

@ -1,19 +1,23 @@
{ stdenv, fetchurl, doxygen }:
{ stdenv, fetchFromGitHub, autoreconfHook, doxygen }:
stdenv.mkDerivation rec {
version = "${passthru.majorVersion}.${passthru.minorVersion}";
name = "libmpdclient-${version}";
src = fetchurl {
url = "http://www.musicpd.org/download/libmpdclient/2/${name}.tar.xz";
sha256 = "10pzs9z815a8hgbbbiliapyiw82bnplsccj5irgqjw5f5plcs22g";
src = fetchFromGitHub {
owner = "MusicPlayerDaemon";
repo = "libmpdclient";
rev = "v${version}";
sha256 = "06rv2j8rw9v9l4nwpvbh28nad8bbg368hzd8s58znbr5pgb8dihd";
};
buildInputs = [ doxygen ];
nativeBuildInputs = [ autoreconfHook doxygen ];
enableParallelBuilding = true;
passthru = {
majorVersion = "2";
minorVersion = "10";
minorVersion = "11";
};
meta = with stdenv.lib; {