diff options
Diffstat (limited to 'pkgs/servers/mpd/libmpdclient.nix')
-rw-r--r-- | pkgs/servers/mpd/libmpdclient.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/servers/mpd/libmpdclient.nix b/pkgs/servers/mpd/libmpdclient.nix new file mode 100644 index 0000000000000..4ff45b527b145 --- /dev/null +++ b/pkgs/servers/mpd/libmpdclient.nix @@ -0,0 +1,30 @@ +{ lib +, stdenv +, fetchFromGitHub +, meson +, ninja +, fixDarwinDylibNames +}: + +stdenv.mkDerivation rec { + pname = "libmpdclient"; + version = "2.19"; + + src = fetchFromGitHub { + owner = "MusicPlayerDaemon"; + repo = pname; + rev = "v${version}"; + sha256 = "01agvjscdxagw6jcfx0wg81c4b6p8rh0hp3slycmjs2b835kvmq2"; + }; + + nativeBuildInputs = [ meson ninja ] + ++ lib.optional stdenv.isDarwin fixDarwinDylibNames; + + meta = with lib; { + description = "Client library for MPD (music player daemon)"; + homepage = "https://www.musicpd.org/libs/libmpdclient/"; + license = licenses.bsd2; + maintainers = with maintainers; [ ehmry AndersonTorres ]; + platforms = platforms.unix; + }; +} |