1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00
nixpkgs/pkgs/servers/mpd/clientlib.nix

27 lines
708 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 {
2013-09-22 15:47:17 +01:00
url = "http://www.musicpd.org/download/libmpdclient/2/${name}.tar.bz2";
sha256 = "1qwjkb56rsbk0hwhg7fl15d6sf580a19gh778zcdg374j4yym3hh";
};
2013-09-22 15:47:17 +01:00
buildInputs = [ doxygen ];
2013-09-23 14:41:04 +01:00
passthru = {
majorVersion = "2";
minorVersion = "8";
};
meta = {
description = "Client library for MPD (music player daemon)";
homepage = http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki;
license = "GPLv2";
platforms = with stdenv.lib.platforms; linux;
maintainers = [ stdenv.lib.maintainers.mornfall ];
};
}