From: Federico Beffa <beffa@ieee.org>
To: Guix-devel <guix-devel@gnu.org>
Subject: [PATCH 19/24] gnu: Add ghc-parsec.
Date: Mon, 6 Apr 2015 18:53:31 +0200 [thread overview]
Message-ID: <CAKrPhPNWSsRJ7rTLBCw9ZH4FzteuA0p-R0ekhbNU+R_7+nGVRw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 5 bytes --]
Fede
[-- Attachment #2: 0019-gnu-Add-ghc-parsec.patch --]
[-- Type: text/x-diff, Size: 1905 bytes --]
From 51556b2660b23a6d6448922acfd152ea7a70a1d2 Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Fri, 27 Mar 2015 18:30:06 +0100
Subject: [PATCH 19/24] gnu: Add ghc-parsec.
* gnu/packages/haskell.scm (ghc-parsec): New variable.
---
gnu/packages/haskell.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index ccf958c..82ac56d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -714,4 +714,37 @@ and high speed.")
parts, akin to the 'split' function found in several mainstream languages.")
(license bsd-3)))
+(define-public ghc-parsec
+ (package
+ (name "ghc-parsec")
+ (version "3.1.9")
+ (outputs '("out" "doc"))
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/parsec/parsec-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32 "1ja20cmj6v336jy87c6h3jzjp00sdbakwbdwp11iln499k913xvi"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-hunit" ,ghc-hunit)))
+ ;; these inputs are necessary to use this library
+ (propagated-inputs
+ `(("ghc-text" ,ghc-text)
+ ("ghc-mtl" ,ghc-mtl)))
+ (arguments
+ `(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
+ (home-page
+ "https://github.com/aslatter/parsec")
+ (synopsis "Monadic parser combinators")
+ (description "Parsec is designed from scratch as an industrial-strength
+parser library. It is simple, safe, well documented (on the package
+homepage), has extensive libraries, good error messages, and is fast. It is
+defined as a monad transformer that can be stacked on arbitrary monads, and it
+is also parametric in the input stream type.")
+ (license bsd-3)))
+
;;; haskell.scm ends here
--
2.2.1
next reply other threads:[~2015-04-06 16:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-06 16:53 Federico Beffa [this message]
2015-04-08 9:18 ` [PATCH 19/24] gnu: Add ghc-parsec 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKrPhPNWSsRJ7rTLBCw9ZH4FzteuA0p-R0ekhbNU+R_7+nGVRw@mail.gmail.com \
--to=beffa@ieee.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).