[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/25: gnu: Add ghc-serialise.
From: |
guix-commits |
Subject: |
10/25: gnu: Add ghc-serialise. |
Date: |
Fri, 29 May 2020 11:00:59 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit 47c526df631f4354a93881934c3d8e1c674528b6
Author: John Soo <jsoo1@asu.edu>
AuthorDate: Fri Apr 10 21:11:37 2020 -0700
gnu: Add ghc-serialise.
* gnu/packages/haskell-xyz.scm (ghc-serialise): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
---
gnu/packages/haskell-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 7f152e7..20f738e 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -10804,6 +10804,56 @@ semigroup.")
("ghc-hashable" ,ghc-hashable-bootstrap)))
(properties '((hidden? #t)))))
+(define-public ghc-serialise
+ (package
+ (name "ghc-serialise")
+ (version "0.2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://hackage/package/serialise/serialise-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "19ary6ivzk8z7wcxhm860qmh7pwqj0qjqzav1h42y85l608zqgh4"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-cborg" ,ghc-cborg)
+ ("ghc-half" ,ghc-half)
+ ("ghc-hashable" ,ghc-hashable)
+ ("ghc-primitive" ,ghc-primitive)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)
+ ("ghc-vector" ,ghc-vector)))
+ (native-inputs
+ `(("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
+ ("ghc-quickcheck-instances" ,ghc-quickcheck-instances)))
+ (arguments
+ `(#:cabal-revision
+ ("1" "1rknhad1i8bpknsnphmcmb6dnb48c2p2c13ia2qqch3hkhsvfpr6")))
+ (home-page "https://github.com/well-typed/cborg")
+ (synopsis "Binary serialisation library for Haskell values")
+ (description
+ "This package (formerly binary-serialise-cbor) provides pure,
+efficient serialization of Haskell values directly into ByteStrings for
+storage or transmission purposes. By providing a set of type class instances,
+you can also serialise any custom data type you have as well.
+
+The underlying binary format used is the 'Concise Binary Object
+Representation', or CBOR, specified in RFC 7049. As a result, serialised
+Haskell values have implicit structure outside of the Haskell program itself,
+meaning they can be inspected or analyzed without custom tools.
+
+An implementation of the standard bijection between CBOR and JSON is
+provided by the https://hackage.haskell.org/package/cborg-json
+package. Also see 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-setenv
(package
(name "ghc-setenv")
- 09/25: gnu: Add ghc-special-values., (continued)
- 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
- 16/25: gnu: Add ghc-lens-family-core., guix-commits, 2020/05/29
- 17/25: gnu: Add ghc-prettyprinter., guix-commits, 2020/05/29
- 01/25: gnu: Add ghc-inspection-testing., guix-commits, 2020/05/29
- 20/25: gnu: Add ghc-repline-0.3., guix-commits, 2020/05/29
- 07/25: gnu: Add ghc-text-manipulate., guix-commits, 2020/05/29
- 10/25: gnu: Add ghc-serialise.,
guix-commits <=
- 25/25: gnu: Add dhall., guix-commits, 2020/05/29
- 05/25: gnu: Add ghc-dotgen., guix-commits, 2020/05/29
- 13/25: gnu: Add ghc-optional-args., guix-commits, 2020/05/29
- 12/25: gnu: Add ghc-pgp-wordlist., guix-commits, 2020/05/29
- 14/25: gnu: Add ghc-turtle., guix-commits, 2020/05/29
- 24/25: gnu: Add ghc-atomic-write-0.2.0.7., guix-commits, 2020/05/29