aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/mpd.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-03-05 20:45:55 -0500
committerDavid Thompson <dthompson2@worcester.edu>2014-03-06 16:51:16 -0500
commit4d01bd3c1ce8a986ebcf50c65a73cc87657f2360 (patch)
tree187ce846aba692a2de39aeedb7bd53fba3c805d0 /gnu/packages/mpd.scm
parent9ea3ef26551a754df502e03002a73052f3c2fbc6 (diff)
downloadguix-4d01bd3c1ce8a986ebcf50c65a73cc87657f2360.tar
guix-4d01bd3c1ce8a986ebcf50c65a73cc87657f2360.tar.gz
gnu: Add ncmpc.
* gnu/packages/mpd.scm (ncmpc): New variable.
Diffstat (limited to 'gnu/packages/mpd.scm')
-rw-r--r--gnu/packages/mpd.scm28
1 files changed, 27 insertions, 1 deletions
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index b2c5dec15b..04b34eaf87 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -29,13 +29,15 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages linux)
#:use-module (gnu packages mp3)
+ #:use-module (gnu packages ncurses)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages video)
#:use-module (gnu packages xiph)
#:export (libmpdclient
- mpd))
+ mpd
+ ncmpc))
(define libmpdclient
(package
@@ -121,3 +123,27 @@ can play a variety of sound files while being controlled by its network
protocol.")
(home-page "http://www.musicpd.org/")
(license license:gpl2)))
+
+(define ncmpc
+ (package
+ (name "ncmpc")
+ (version "0.21")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append "http://musicpd.org/download/ncmpc/"
+ (car (string-split version #\.))
+ "/ncmpc-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1gpy6rr0awl6xgkswmr8rdvqfkrz83rmwk441c00a9d4z3zb1a16"))))
+ (build-system gnu-build-system)
+ (inputs `(("glib" ,glib)
+ ("libmpdclient" ,libmpdclient)
+ ("ncurses" ,ncurses)))
+ (native-inputs `(("pkg-config" ,pkg-config)))
+ (synopsis "A curses Music Player Daemon client")
+ (description "ncmpc is a fully featured MPD client, which runs in a
+terminal using ncurses.")
+ (home-page "http://www.musicpd.org/clients/ncmpc/")
+ (license license:gpl2)))