From: Tonton <tonton@riseup.net>
To: 31423@debbugs.gnu.org
Cc: Tonton <tonton@riseup.net>
Subject: [bug#31423] [PATCH 2/2] gnu: Add ghc-bytes.
Date: Thu, 17 May 2018 21:34:37 +0200 [thread overview]
Message-ID: <20180517193437.2986-1-tonton@riseup.net> (raw)
In-Reply-To: <20180511203408.29491-5-tonton@riseup.net>
* gnu/packages/haskell.scm (ghc-bytes): New variable.
---
gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 874a9202a..36c3eaab7 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9483,4 +9483,36 @@ address string against RFC 5322.")
(inputs `(("ghc-unordered-containers" ,ghc-unordered-containers)
,@(package-inputs ghc-semigroupoids)))))
+(define-public ghc-bytes
+ (package
+ (name "ghc-bytes")
+ (version "0.15.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://hackage.haskell.org/package/bytes-"
+ version "/bytes-"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "121x3iqlm8pghw8cd9g30cnqbl7jrdpfjxdanmqdqllajw6xivrm"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-cereal" ,ghc-cereal)
+ ("cabal-doctest" ,cabal-doctest)
+ ("ghc-doctest" ,ghc-doctest-0.13)
+ ("ghc-mtl" ,ghc-mtl)
+ ("ghc-scientific" ,ghc-scientific)
+ ("ghc-text" ,ghc-text)
+ ("ghc-transformers-compat" ,ghc-transformers-compat)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)
+ ("ghc-void" ,ghc-void)
+ ("ghc-vector" ,ghc-vector)))
+ (synopsis "Haskell bytes: serialization between binary and cereal")
+ (description "Haskell module to share code for serialization between
+binary and cereal")
+ (home-page "https://hackage.haskell.org/package/bytes")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.17.0
next prev parent reply other threads:[~2018-05-17 19:36 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 ` [bug#31421] [PATCH 4/6] gnu: Add ghc-binary Tonton
2018-05-13 21:13 ` [bug#31418] " 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 ` Tonton [this message]
2018-05-20 20:58 ` bug#31423: [PATCH 2/2] " 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=20180517193437.2986-1-tonton@riseup.net \
--to=tonton@riseup.net \
--cc=31423@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).