mpd_clientlib: rename to libmpdclient

The name libmpdclient is the original name of the project, and it is the most
used by other projects and package managers. Also, there is no reason why not to
use the name libmpdclient.
This commit is contained in:
AndersonTorres
2021-02-10 12:28:24 -03:00
parent e71e9cc188
commit 8eb03e2758
2 changed files with 13 additions and 6 deletions
+30
View File
@@ -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;
};
}