guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

94/151: gnu: Add ghc-attoparsec.


From: Paul
Subject: 94/151: gnu: Add ghc-attoparsec.
Date: Mon, 19 Oct 2015 08:58:21 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit f9f35c4067f4cceebf7cb4735871bb73c615da50
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 15:26:24 2015 +0200

    gnu: Add ghc-attoparsec.
    
    * gnu/packages/haskell.scm (ghc-attoparsec): 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 d55991b..aaf9bd1 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1169,6 +1169,38 @@ Both IPv4 and IPv6 are supported.")
 by Roman Cheplyaka).")
     (license bsd-3)))
 
+(define-public ghc-attoparsec
+  (package
+    (name "ghc-attoparsec")
+    (version "0.13.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/attoparsec/attoparsec-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0cprkr7bl4lrr80pz8mryb4rbfwdgpsrl7g0fbcaybhl8p5hm26f"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f)) ; FIXME: ghc-test-framework unavailable
+    (propagated-inputs
+     `(("ghc-scientific" ,ghc-scientific)))
+    (inputs
+     `(
+       ("ghc-text" ,ghc-text)
+       ("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-quickcheck-unicode" ,ghc-quickcheck-unicode)
+       ("ghc-vector" ,ghc-vector)))
+    (home-page "https://github.com/bos/attoparsec";)
+    (synopsis
+     "Fast combinator parsing for bytestrings and text")
+    (description
+     "A fast parser combinator library, aimed particularly at dealing
+efficiently with network protocols and complicated text/binary file formats.")
+    (license bsd-3)))
+
 (define-public ghc-appar
   (package
     (name "ghc-appar")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]