[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/17: gnu: Add ghc-aeson-better-errors.
From: |
guix-commits |
Subject: |
12/17: gnu: Add ghc-aeson-better-errors. |
Date: |
Fri, 8 May 2020 05:09:14 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit e345d93825976c16f0b5efce72d3b46140c8cf48
Author: John Soo <address@hidden>
AuthorDate: Fri Dec 13 07:45:59 2019 -0800
gnu: Add ghc-aeson-better-errors.
* gnu/packages/haskell-web.scm (ghc-aeson-better-errors): New variable.
Signed-off-by: Christopher Baines <address@hidden>
---
gnu/packages/haskell-web.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index aae1209..4689025 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -1005,6 +1005,39 @@ the function @code{aesonQQ} that compile-time converts a
string representation
of a JSON value into a @code{Data.Aeson.Value}.")
(license license:expat)))
+(define-public ghc-aeson-better-errors
+ (package
+ (name "ghc-aeson-better-errors")
+ (version "0.9.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+
"mirror://hackage/package/aeson-better-errors/aeson-better-errors-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "09vkyrhwak3bmpfsqcd2az8hfqqkxyhg468hv5avgisy0nzh3w38"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-aeson" ,ghc-aeson)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)
+ ("ghc-dlist" ,ghc-dlist)
+ ("ghc-scientific" ,ghc-scientific)
+ ("ghc-vector" ,ghc-vector)
+ ("ghc-transformers-compat" ,ghc-transformers-compat)
+ ("ghc-void" ,ghc-void)))
+ (home-page
+ "https://github.com/hdgarrood/aeson-better-errors")
+ (synopsis
+ "Better error messages when decoding JSON values in Haskell")
+ (description
+ "Gives you the tools to build parsers to decode JSON values, and gives
+good error messages when parsing fails. See also
+@url{http://harry.garrood.me/blog/aeson-better-errors/}.")
+ (license license:expat)))
+
(define-public ghc-multipart
(package
(name "ghc-multipart")
- 08/17: gnu: Add ghc-protolude., (continued)
- 08/17: gnu: Add ghc-protolude., guix-commits, 2020/05/08
- 09/17: gnu: Add ghc-pattern-arrows., guix-commits, 2020/05/08
- 10/17: gnu: Add ghc-language-javascript., guix-commits, 2020/05/08
- 11/17: gnu: Add ghc-bower-json., guix-commits, 2020/05/08
- 13/17: gnu: Add ghc-assoc., guix-commits, 2020/05/08
- 14/17: gnu: Add ghc-these., guix-commits, 2020/05/08
- 16/17: gnu: Add ghc-happy@1.19.9, guix-commits, 2020/05/08
- 04/17: gnu: Add ghc-websockets., guix-commits, 2020/05/08
- 15/17: gnu: Add ghc-semialign., guix-commits, 2020/05/08
- 17/17: gnu: Add purescript., guix-commits, 2020/05/08
- 12/17: gnu: Add ghc-aeson-better-errors.,
guix-commits <=