3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/mpd/clientlib.nix

27 lines
723 B
Nix
Raw Normal View History

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