1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/servers/mpd/clientlib.nix
2020-01-27 13:25:56 +01:00

25 lines
699 B
Nix

{ stdenv, fetchFromGitHub, meson, ninja, fixDarwinDylibNames }:
stdenv.mkDerivation rec {
version = "2.18";
pname = "libmpdclient";
src = fetchFromGitHub {
owner = "MusicPlayerDaemon";
repo = "libmpdclient";
rev = "v${version}";
sha256 = "0p2dw3jwyl34azzvr9bm7q6ni8v4ix9qr5lig62xskvrrbjfc4a6";
};
nativeBuildInputs = [ meson ninja ]
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
meta = with stdenv.lib; {
description = "Client library for MPD (music player daemon)";
homepage = https://www.musicpd.org/libs/libmpdclient/;
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ ehmry ];
};
}