2013-09-22 07:47:17 -07:00
|
|
|
{ stdenv, fetchurl, doxygen }:
|
2011-12-04 17:32:25 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-09-23 06:41:04 -07:00
|
|
|
version = "${passthru.majorVersion}.${passthru.minorVersion}";
|
2013-09-22 07:47:17 -07:00
|
|
|
name = "libmpdclient-${version}";
|
2013-09-23 06:41:04 -07:00
|
|
|
|
2011-12-04 17:32:25 -08:00
|
|
|
src = fetchurl {
|
2014-01-29 14:43:41 -08:00
|
|
|
url = "http://www.musicpd.org/download/libmpdclient/2/${name}.tar.xz";
|
|
|
|
sha256 = "1jlrfqxqq3gscwrppr2h0xqxd5abl1ypwpwpwnpxs6p9c2jppjbw";
|
2011-12-04 17:32:25 -08:00
|
|
|
};
|
|
|
|
|
2013-09-22 07:47:17 -07:00
|
|
|
buildInputs = [ doxygen ];
|
|
|
|
|
2013-09-23 06:41:04 -07:00
|
|
|
passthru = {
|
|
|
|
majorVersion = "2";
|
2014-01-29 14:43:41 -08:00
|
|
|
minorVersion = "9";
|
2013-09-23 06:41:04 -07:00
|
|
|
};
|
|
|
|
|
2011-12-04 17:32:25 -08:00
|
|
|
meta = {
|
|
|
|
description = "Client library for MPD (music player daemon)";
|
|
|
|
homepage = http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki;
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-05-20 22:37:34 -07:00
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
2011-12-04 17:32:25 -08:00
|
|
|
maintainers = [ stdenv.lib.maintainers.mornfall ];
|
|
|
|
};
|
|
|
|
}
|