3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/mpd/clientlib.nix
Peter Hoeg 207ac3c7b8 mpd_clientlib: 2.10 -> 2.11
Upstream has moved to github as well.
2017-06-09 12:55:20 +08:00

31 lines
806 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, doxygen }:
stdenv.mkDerivation rec {
version = "${passthru.majorVersion}.${passthru.minorVersion}";
name = "libmpdclient-${version}";
src = fetchFromGitHub {
owner = "MusicPlayerDaemon";
repo = "libmpdclient";
rev = "v${version}";
sha256 = "06rv2j8rw9v9l4nwpvbh28nad8bbg368hzd8s58znbr5pgb8dihd";
};
nativeBuildInputs = [ autoreconfHook doxygen ];
enableParallelBuilding = true;
passthru = {
majorVersion = "2";
minorVersion = "11";
};
meta = with stdenv.lib; {
description = "Client library for MPD (music player daemon)";
homepage = http://www.musicpd.org/libs/libmpdclient/;
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ mornfall ehmry ];
};
}