From fe0fb890ea41a8faec5192939eb974e0139fde13 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 12 Aug 2018 00:13:17 +0200 Subject: 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 7f14c59450..2673ca5e5d 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1698,6 +1698,27 @@ (define-public ghc-mtl @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") -- cgit v1.2.3