[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/15: gnu: Add ghc-cassava-megaparsec.
From: |
guix-commits |
Subject: |
13/15: gnu: Add ghc-cassava-megaparsec. |
Date: |
Sun, 1 Nov 2020 08:36:14 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit aa8f40097de751737bb5068e8b6cf87b2a2a559f
Author: Carlo Holl <carloholl@gmail.com>
AuthorDate: Sat Oct 31 19:02:34 2020 -0700
gnu: Add ghc-cassava-megaparsec.
* gnu/packages/haskell-xyz.scm (ghc-cassava-megaparsec): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/haskell-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 70303e2..03bf989 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -1633,6 +1633,37 @@ very simple example of encoding CSV data:
")
(license license:bsd-3)))
+(define-public ghc-cassava-megaparsec
+ (package
+ (name "ghc-cassava-megaparsec")
+ (version "2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/cassava-megaparsec/"
+ "cassava-megaparsec-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "03x1462agrfdagklp8c89b8p4z2hd8nbf6d3895sz770zjkawda7"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-cassava" ,ghc-cassava)
+ ("ghc-megaparsec" ,ghc-megaparsec)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)
+ ("ghc-vector" ,ghc-vector)))
+ (native-inputs
+ `(("ghc-hspec" ,ghc-hspec)
+ ("ghc-hspec-megaparsec" ,ghc-hspec-megaparsec)))
+ (home-page "https://github.com/stackbuilders/cassava-megaparsec")
+ (synopsis "Megaparsec parser for CSV files that plays nicely with Cassava")
+ (description
+ "Alternative parser for the Cassava package written with Megaparsec that
+provides for better error messages at the expense of some speed.")
+ (license license:expat)))
+
(define-public ghc-cborg
(package
(name "ghc-cborg")
- branch master updated (9e775fa -> e6bfb02), guix-commits, 2020/11/01
- 02/15: gnu: Add ghc-csv., guix-commits, 2020/11/01
- 01/15: gnu: Add ghc-control-monad-free., guix-commits, 2020/11/01
- 07/15: gnu: Add ghc-only., guix-commits, 2020/11/01
- 06/15: gnu: Add ghc-lucid., guix-commits, 2020/11/01
- 13/15: gnu: Add ghc-cassava-megaparsec.,
guix-commits <=
- 11/15: gnu: Add ghc-wizards., guix-commits, 2020/11/01
- 03/15: gnu: Add ghc-decimal., guix-commits, 2020/11/01
- 05/15: gnu: Add ghc-hspec-megaparsec., guix-commits, 2020/11/01
- 04/15: gnu: ghc-doctest: Update to 0.16.3., guix-commits, 2020/11/01
- 09/15: gnu: Add ghc-tabular., guix-commits, 2020/11/01
- 14/15: gnu: Add ghc-hledger-lib., guix-commits, 2020/11/01
- 08/15: gnu: Add ghc-text-short., guix-commits, 2020/11/01
- 12/15: gnu: Add ghc-cassava., guix-commits, 2020/11/01
- 10/15: gnu: Add ghc-uglymemo., guix-commits, 2020/11/01
- 15/15: gnu: Add hledger., guix-commits, 2020/11/01