From: Gabriel Hondet <gabrielhondet@gmail.com>
To: "Timothy Sample" <samplet@ngyro.com>, "Ludovic Courtès" <ludo@gnu.org>
Cc: 34137@debbugs.gnu.org
Subject: [bug#34137] [PATCH] gnu: Add ghc-libmpd.
Date: Thu, 24 Jan 2019 20:16:11 +0100 [thread overview]
Message-ID: <87va2dc1dw.fsf@gmail.com> (raw)
In-Reply-To: <87d0omzt5t.fsf@ngyro.com>
[-- Attachment #1: Type: text/plain, Size: 1777 bytes --]
Hi,
Here is a new patch following your remarks. I have also used
'mirror://' for hackage.
* gnu/packages/haskell.scm (ghc-libmpd): New variable.
---
gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index b8ea36852..255e902e6 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -11461,4 +11461,36 @@ foreign imports by hand (or using hsc2hs), this ensures that C functions are
imported with the correct Haskell types.")
(license license:gpl2)))
+(define-public ghc-libmpd
+ (package
+ (name "ghc-libmpd")
+ (version "0.9.0.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://hackage/package/libmpd/libmpd-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1931m23iqb4wddpdidm4ph746zpaw41kkjzmb074j7yyfpk7x1jv"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-attoparsec" ,ghc-attoparsec)
+ ("ghc-old-locale" ,ghc-old-locale)
+ ("ghc-text" ,ghc-text)
+ ("ghc-data-default-class" ,ghc-data-default-class)
+ ("ghc-network" ,ghc-network)
+ ("ghc-utf8-string" ,ghc-utf8-string)))
+ (native-inputs
+ `(("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-hspec" ,ghc-hspec)
+ ("hspec-discover" ,hspec-discover)))
+ (home-page "https://github.com/vimus/libmpd-haskell")
+ (synopsis "Haskell client library for the Music Player Daemon")
+ (description "This package provides a pure Haskell client library for the
+Music Player Daemon.")
+ (license license:expat)))
+
;;; haskell.scm ends here
--
2.20.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2019-01-24 19:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-19 20:34 [bug#34137] [PATCH 1/2] gnu: Add ghc-mtl Gabriel Hondet
2019-01-19 20:36 ` [bug#34137] [PATCH 2/2] gnu: Add ghc-libmpd Gabriel Hondet
2019-01-20 16:26 ` [bug#34137] [PATCH 1/2] gnu: Add ghc-mtl Timothy Sample
2019-01-21 7:46 ` [bug#34137] [PATCH] gnu: Add ghc-libmp Gabriel Hondet
2019-01-23 22:12 ` Ludovic Courtès
2019-01-24 2:27 ` Timothy Sample
2019-01-24 19:16 ` Gabriel Hondet [this message]
2019-01-25 13:06 ` bug#34137: [PATCH] gnu: Add ghc-libmpd Ludovic Courtès
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=87va2dc1dw.fsf@gmail.com \
--to=gabrielhondet@gmail.com \
--cc=34137@debbugs.gnu.org \
--cc=ludo@gnu.org \
--cc=samplet@ngyro.com \
/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.