nixpkgs/pkgs/by-name/li/libmpdclient/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
860 B
Nix
Raw Normal View History

{ fetchFromGitHub
, fixDarwinDylibNames
, lib
, meson
, ninja
, stdenv
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libmpdclient";
2023-12-22 14:58:20 +00:00
version = "2.22";
2013-09-23 13:41:04 +00:00
src = fetchFromGitHub {
owner = "MusicPlayerDaemon";
repo = "libmpdclient";
rev = "v${finalAttrs.version}";
2023-12-22 14:58:20 +00:00
hash = "sha256-KF8IR9YV6b9ro+L9m6nHs1IggakEZddfcBKm/oKCVZY=";
};
nativeBuildInputs = [
meson
ninja
] ++ lib.optionals stdenv.isDarwin [
fixDarwinDylibNames
];
2013-09-23 13:41:04 +00:00
meta = {
description = "Client library for MPD (music player daemon)";
homepage = "https://www.musicpd.org/libs/libmpdclient/";
changelog = "https://raw.githubusercontent.com/MusicPlayerDaemon/libmpdclient/${finalAttrs.src.rev}/NEWS";
license = with lib.licenses; [ bsd2 ];
2024-02-09 11:39:43 +00:00
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.unix;
};
})