summary refs log tree commit diff
path: root/gnu/packages/mpd.scm
diff options
context:
space:
mode:
authorPaul van der Walt <paul@denknerd.org>2015-02-28 18:22:03 +0100
committerDavid Thompson <dthompson2@worcester.edu>2015-02-28 13:10:32 -0500
commit773b2792e1ca1450b4625b0afed11e0bb18317c6 (patch)
treeafe69ccd3b1cc7bbf306c2fbb0d70248f9868ee1 /gnu/packages/mpd.scm
parente42dc6249c24f67568fd2efafcb860dec40c629f (diff)
downloadguix-773b2792e1ca1450b4625b0afed11e0bb18317c6.tar.gz
gnu: Add mpd-mpc.
* gnu/packages/mpd.scm (mpd-mpc): New variable.
Diffstat (limited to 'gnu/packages/mpd.scm')
-rw-r--r--gnu/packages/mpd.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 550e75d43f..8e798ee2c6 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -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")