guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: Add ghc-parsec-numbers.


From: Tobias Geerinckx-Rice
Subject: 01/03: gnu: Add ghc-parsec-numbers.
Date: Sun, 12 Aug 2018 14:15:29 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit fe0fb890ea41a8faec5192939eb974e0139fde13
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Aug 12 00:13:17 2018 +0200

    gnu: Add ghc-parsec-numbers.
    
    * gnu/packages/haskell.scm (ghc-parsec-numbers): New public variable.
---
 gnu/packages/haskell.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 7f14c59..2673ca5 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1698,6 +1698,27 @@ School of Functional Programming', 1995.  See
 @uref{https://web.cecs.pdx.edu/~mpj/pubs/springschool.html, the paper}.")
     (license license:bsd-3)))
 
+(define-public ghc-parsec-numbers
+  (package
+    (name "ghc-parsec-numbers")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/";
+                           "parsec-numbers/parsec-numbers-" version ".tar.gz"))
+       (sha256
+        (base32 "1gzy4v3r02kvdxvgg1nj83mmb6aph2v4ilf9c7y6nbvi2x49l0bp"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-parsec" ,ghc-parsec)))
+    (home-page "http://hackage.haskell.org/package/parsec-numbers";)
+    (synopsis "Utilities for parsing numbers from strings")
+    (description
+     "This package provides the number parsers without the need to use a large
+(and unportable) token parser.")
+    (license license:bsd-3)))
+
 (define-public ghc-paths
   (package
     (name "ghc-paths")



reply via email to

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