about summary refs log tree commit diff
path: root/pkgs/servers/mpd
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2021-02-10 11:03:53 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2021-02-10 12:28:24 -0300
commit8eb03e27582935aa1c6e8b0c09194637dc90bdb8 (patch)
tree572494aade5e6dde233e358bc2a3c135752ad8b6 /pkgs/servers/mpd
parente71e9cc1882570360ca9724990d254d0f7c45583 (diff)
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.
Diffstat (limited to 'pkgs/servers/mpd')
-rw-r--r--pkgs/servers/mpd/libmpdclient.nix (renamed from pkgs/servers/mpd/clientlib.nix)16
1 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/servers/mpd/clientlib.nix b/pkgs/servers/mpd/libmpdclient.nix
index e0df9458f8788..4ff45b527b145 100644
--- a/pkgs/servers/mpd/clientlib.nix
+++ b/pkgs/servers/mpd/libmpdclient.nix
@@ -1,12 +1,18 @@
-{ lib, stdenv, fetchFromGitHub, meson, ninja, fixDarwinDylibNames }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, meson
+, ninja
+, fixDarwinDylibNames
+}:
 
 stdenv.mkDerivation rec {
-  version = "2.19";
   pname = "libmpdclient";
+  version = "2.19";
 
   src = fetchFromGitHub {
     owner  = "MusicPlayerDaemon";
-    repo   = "libmpdclient";
+    repo   = pname;
     rev    = "v${version}";
     sha256 = "01agvjscdxagw6jcfx0wg81c4b6p8rh0hp3slycmjs2b835kvmq2";
   };
@@ -17,8 +23,8 @@ stdenv.mkDerivation rec {
   meta = with lib; {
     description = "Client library for MPD (music player daemon)";
     homepage = "https://www.musicpd.org/libs/libmpdclient/";
-    license = licenses.gpl2;
+    license = licenses.bsd2;
+    maintainers = with maintainers; [ ehmry AndersonTorres ];
     platforms = platforms.unix;
-    maintainers = with maintainers; [ ehmry ];
   };
 }