forked from mirrors/nixpkgs
7c3b57c7cd
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 2.14 with grep in /nix/store/8q00s6prlgljs1imp7r40rq3jyafzlhc-libmpdclient-2.14 - found 2.14 in filename of file in /nix/store/8q00s6prlgljs1imp7r40rq3jyafzlhc-libmpdclient-2.14 - directory tree listing: https://gist.github.com/acd3295fdde722768ff964a7284a00c4
25 lines
709 B
Nix
25 lines
709 B
Nix
{ stdenv, fetchFromGitHub, meson, ninja, fixDarwinDylibNames }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.14";
|
|
name = "libmpdclient-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MusicPlayerDaemon";
|
|
repo = "libmpdclient";
|
|
rev = "v${version}";
|
|
sha256 = "15vn9m4qcsccff5rg7jkzy5503skz6bmqqk6qc2smgvjgwn533sm";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|