all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul van der Walt <paul@denknerd.org>
To: Guix-devel <guix-devel@gnu.org>
Subject: [PATCH] Add mpc, the mpd client
Date: Sat, 28 Feb 2015 18:24:44 +0100	[thread overview]
Message-ID: <87egpahrtv.fsf@denknerd.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 122 bytes --]

Hello,

Here's mpc, packaged as mpd-mpc, since mpc, Andreas' library, has
already squatted the name 'mpc' :p

Unhello,
p.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-mpd-mpc-Add-mpc-the-client-for-mpd.patch --]
[-- Type: text/x-diff, Size: 1679 bytes --]

From 20110c1b5d4761b26910d8958d150ced68c1c60a Mon Sep 17 00:00:00 2001
From: Paul van der Walt <paul@denknerd.org>
Date: Sat, 28 Feb 2015 18:22:03 +0100
Subject: [PATCH] gnu: mpd-mpc: Add mpc, the client for mpd.

* gnu/packages/mpd.scm (mpd-mpc): Add mpc, the command-line client for mpd.
---
 gnu/packages/mpd.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 550e75d..8e798ee 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")
-- 
2.3.1


             reply	other threads:[~2015-02-28 17:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-28 17:24 Paul van der Walt [this message]
2015-02-28 19:01 ` [PATCH] Add mpc, the mpd client David Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87egpahrtv.fsf@denknerd.org \
    --to=paul@denknerd.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.