gnu: Add mpd-mpc.
authorPaul van der Walt <paul@denknerd.org>
Sat, 28 Feb 2015 17:22:03 +0000 (18:22 +0100)
committerDavid Thompson <dthompson2@worcester.edu>
Sat, 28 Feb 2015 18:10:32 +0000 (13:10 -0500)
* gnu/packages/mpd.scm (mpd-mpc): New variable.

gnu/packages/mpd.scm

index 550e75d..8e798ee 100644 (file)
@@ -45,6 +45,7 @@
   #:use-module (gnu packages xiph)
   #:export (libmpdclient
             mpd
+            mpd-mpc
             ncmpc
             ncmpcpp))
 
@@ -130,6 +131,28 @@ protocol.")
     (home-page "http://www.musicpd.org/")
     (license license:gpl2)))
 
+(define mpd-mpc
+  (package
+    (name "mpd-mpc")
+    (version "0.26")
+    (source (origin
+              (method url-fetch)
+              (uri
+               (string-append "http://www.musicpd.org/download/mpc/"
+                              (car (string-split version #\.))
+                              "/mpc-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0hp2qv6w2v902dhrmck5hg32s1ai6xiv9n61a3n6prfcfdqmywr0"))))
+    (build-system gnu-build-system)
+    (inputs `(("libmpdclient" ,libmpdclient)))
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (synopsis "Music Player Daemon client")
+    (description "MPC is a minimalist command line interface to MPD, the music
+player daemon.")
+    (home-page "http://www.musicpd.org/clients/mpc/")
+    (license license:gpl2)))
+
 (define ncmpc
   (package
     (name "ncmpc")