GNU bug report logs - #44174
[PATCH 00/16] Add hledger and its dependencies.

Previous Next

Package: guix-patches;

Reported by: Carlo Holl <carloholl <at> gmail.com>

Date: Fri, 23 Oct 2020 12:08:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Carlo Holl <carloholl <at> gmail.com>
To: 44174 <at> debbugs.gnu.org
Cc: Carlo Holl <carloholl <at> gmail.com>
Subject: [bug#44174] [PATCH v2 13/15] gnu: Add ghc-cassava-megaparsec.
Date: Sat, 31 Oct 2020 19:02:34 -0700
* gnu/packages/haskell-xyz.scm (ghc-cassava-megaparsec): New variable.
---
 gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 6f5b6c3253..a195503a40 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -1641,6 +1641,39 @@ hackage.haskell.org/package/cassava-0.5.2.0/#readme, README} for more usage
 examples.")
     (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 of 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")
-- 
2.28.0





This bug report was last modified 4 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.