[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/27: gnu: Add ghc-parsec.
From: |
Federico Beffa |
Subject: |
23/27: gnu: Add ghc-parsec. |
Date: |
Wed, 08 Apr 2015 15:31:53 +0000 |
beffa pushed a commit to branch master
in repository guix.
commit fa468e879f93a98c87d73352b2d55f5c697d862c
Author: Federico Beffa <address@hidden>
Date: Fri Mar 27 18:30:06 2015 +0100
gnu: Add ghc-parsec.
* gnu/packages/haskell.scm (ghc-parsec): New variable.
---
gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index e930907..82f9d85 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -716,4 +716,36 @@ 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 a parser library. It is simple, safe, well
+documented, 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
- 09/27: gnu: Add ghc-parallel., (continued)
- 09/27: gnu: Add ghc-parallel., Federico Beffa, 2015/04/08
- 12/27: gnu: Add ghc-hunit, Federico Beffa, 2015/04/08
- 06/27: gnu: Add ghc-paths., Federico Beffa, 2015/04/08
- 18/27: gnu: Add ghc-syb., Federico Beffa, 2015/04/08
- 10/27: gnu: Add ghc-text., Federico Beffa, 2015/04/08
- 17/27: gnu: Add ghc-case-insensitive., Federico Beffa, 2015/04/08
- 21/27: gnu: Add ghc-unordered-containers., Federico Beffa, 2015/04/08
- 19/27: gnu: Add ghc-containers., Federico Beffa, 2015/04/08
- 15/27: gnu: Add ghc-tf-random., Federico Beffa, 2015/04/08
- 25/27: gnu: Add ghc-network., Federico Beffa, 2015/04/08
- 23/27: gnu: Add ghc-parsec.,
Federico Beffa <=
- 24/27: gnu: Add ghc-vector., Federico Beffa, 2015/04/08
- 27/27: gnu: Add ghc-http., Federico Beffa, 2015/04/08
- 26/27: gnu: Add ghc-network-uri., Federico Beffa, 2015/04/08