mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
2b6dcdfcd0
Communication happens on Github so names should be consistent.
26 lines
705 B
Nix
26 lines
705 B
Nix
{ stdenv, fetchurl, 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";
|
|
};
|
|
|
|
buildInputs = [ doxygen ];
|
|
|
|
passthru = {
|
|
majorVersion = "2";
|
|
minorVersion = "10";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|