From: Tonton <tonton@riseup.net>
To: 31418@debbugs.gnu.org, 31421@debbugs.gnu.org
Cc: Tonton <tonton@riseup.net>
Subject: [bug#31421] [PATCH 4/6] gnu: Add ghc-binary.
Date: Fri, 11 May 2018 22:34:06 +0200 [thread overview]
Message-ID: <20180511203408.29491-3-tonton@riseup.net> (raw)
In-Reply-To: <20180511203408.29491-1-tonton@riseup.net>
* gnu/packages/haskell.scm (ghc-binary): New variable.
---
gnu/packages/haskell.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index dd9d2f15d..d8128422e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9521,4 +9521,38 @@ maps, sequences, trees, and graphs.")
(home-page "https://hackage.haskell.org/package/containers")
(license license:bsd-3)))
+(define-public ghc-binary
+ (package
+ (name "ghc-binary")
+ (version "0.8.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://hackage.haskell.org/package/binary-0.8.5.1/binary-"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15h5zqfw7xmcimvlq6bs8f20vxlfvz7g411fns5z7212crlimffy"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-bytestring" ,ghc-bytestring-builder)
+ ("ghc-array" ,ghc-array)
+ ("ghc-ghc-prim" ,ghc-primitive)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-quickcheck" ,ghc-quickcheck-2.9)
+ ("ghc-test-framework" ,ghc-test-framework)
+ ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2-w-qc-2.9)
+ ("ghc-containers" ,ghc-containers)))
+ (synopsis "Haskell binary serialisation using lazy ByteStrings")
+ (description "Efficient, pure binary serialisation using lazy
+ByteStrings. Haskell values may be encoded to and from binary formats,
+written to disk as binary, or sent over the network. The format used can
+be automatically generated, or you can choose to implement a custom
+format if needed. Serialisation speeds of over 1 G/sec have been
+observed, so this library should be suitable for high performance
+scenarios.")
+ (home-page "https://hackage.haskell.org/package/binary")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.17.0
next prev parent reply other threads:[~2018-05-11 20:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-11 20:34 [bug#31419] [PATCH 2/6] gnu: Add ghc-array Tonton
2018-05-11 20:34 ` [bug#31420] [PATCH 3/6] gnu: Add ghc-containers Tonton
2018-05-11 20:34 ` Tonton [this message]
2018-05-13 21:13 ` [bug#31418] [PATCH 4/6] gnu: Add ghc-binary Ludovic Courtès
2018-05-17 14:18 ` [bug#31418] [bug#31421] " Ludovic Courtès
2018-05-11 20:34 ` [bug#31422] [PATCH 5/6] gnu: Add ghc-semigroupoids-5.2.2 Tonton
2018-05-17 19:37 ` [bug#31422] [PATCH 1/2] " Tonton
2018-05-20 20:44 ` bug#31422: " Ludovic Courtès
2018-05-11 20:34 ` [bug#31423] [PATCH 6/6] gnu: Add ghc-bytes Tonton
2018-05-17 19:34 ` [bug#31423] [PATCH 2/2] " Tonton
2018-05-20 20:58 ` bug#31423: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180511203408.29491-3-tonton@riseup.net \
--to=tonton@riseup.net \
--cc=31418@debbugs.gnu.org \
--cc=31421@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).