[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/25: gnu: Add ghc-cborg.
From: |
guix-commits |
Subject: |
03/25: gnu: Add ghc-cborg. |
Date: |
Fri, 29 May 2020 11:00:56 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit 6ba536a1cd128d755b37a5f408d5fa9a58ffc142
Author: John Soo <jsoo1@asu.edu>
AuthorDate: Fri Apr 10 21:06:15 2020 -0700
gnu: Add ghc-cborg.
* gnu/packages/haskell-xyz.scm (ghc-cborg): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
---
gnu/packages/haskell-xyz.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 52b2faa..b3d37ab 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -1535,6 +1535,54 @@ constructor which can be parameterised by a string-like
type like:
the resulting type will be insensitive to cases.")
(license license:bsd-3)))
+(define-public ghc-cborg
+ (package
+ (name "ghc-cborg")
+ (version "0.2.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://hackage/package/cborg/cborg-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1rdnvy0w17s70ikmbyrnwax5rvqh19l95sh8i7ipgxi23z1r0bp1"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-half" ,ghc-half)
+ ("ghc-primitive" ,ghc-primitive)))
+ (native-inputs
+ `(("ghc-aeson" ,ghc-aeson)
+ ("ghc-base64-bytestring" ,ghc-base64-bytestring)
+ ("ghc-base16-bytestring" ,ghc-base16-bytestring)
+ ("ghc-fail" ,ghc-fail)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-scientific" ,ghc-scientific)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
+ ("ghc-vector" ,ghc-vector)))
+ (home-page "http://hackage.haskell.org/package/cborg")
+ (synopsis "Concise Binary Object Representation")
+ (description
+ "This package (formerly binary-serialise-cbor) provides an
+efficient implementation of the Concise Binary Object
+Representation (CBOR), as specified by RFC 7049 at
+https://tools.ietf.org/html/rfc7049.
+
+If you are looking for a library for serialisation of Haskell values, have a
+look at the @url{https://hackage.haskell.org/package/serialise} package, which
+is built upon this library.
+
+An implementation of the standard bijection between CBOR and JSON is provided
+by the @url{https://hackage.haskell.org/package/cborg-json} package.
+
+Also see @code{https://hackage.haskell.org/package/cbor-tool} for a convenient
+command-line utility for working with CBOR data.")
+ (license license:bsd-3)))
+
(define-public ghc-cereal
(package
(name "ghc-cereal")
- branch master updated (1ca44ae -> 9ff667e), guix-commits, 2020/05/29
- 04/25: gnu: Add ghc-cborg-json., guix-commits, 2020/05/29
- 02/25: gnu: Add ghc-data-fix., guix-commits, 2020/05/29
- 03/25: gnu: Add ghc-cborg.,
guix-commits <=
- 08/25: gnu: Add ghc-spoon., guix-commits, 2020/05/29
- 06/25: gnu: Add ghc-generic-random., guix-commits, 2020/05/29
- 22/25: gnu: Add ghc-prettyprinter-ansi-terminal., guix-commits, 2020/05/29
- 18/25: gnu: Add ghc-repline., guix-commits, 2020/05/29
- 19/25: gnu: Add ghc-haskeline-0.8., guix-commits, 2020/05/29
- 09/25: gnu: Add ghc-special-values., guix-commits, 2020/05/29
- 21/25: gnu: Add ghc-prettyprinter-1.6., guix-commits, 2020/05/29
- 11/25: gnu: Add ghc-pretty-simple., guix-commits, 2020/05/29
- 15/25: gnu: Add ghc-managed., guix-commits, 2020/05/29
- 23/25: gnu: Add ghc-generic-random-1.3.0.1., guix-commits, 2020/05/29