From: "Alex Griffin" <a@ajgrf.com>
To: 37717@debbugs.gnu.org
Subject: [bug#37717] [PATCH 2/3] gnu: Add ghc-unagi-chan.
Date: Sat, 12 Oct 2019 19:34:27 +0000 [thread overview]
Message-ID: <f66552cb-b5f2-4288-a366-bfd077e8bba4@www.fastmail.com> (raw)
In-Reply-To: <4551b258-a4e3-49f8-9c22-5840edbbd3a7@www.fastmail.com>
[-- Attachment #1: Type: text/plain, Size: 18 bytes --]
--
Alex Griffin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-Add-ghc-unagi-chan.patch --]
[-- Type: text/x-patch; name="0002-gnu-Add-ghc-unagi-chan.patch", Size: 2046 bytes --]
From 12b43fc165aafce2844f8edf9dad99f89bcad943 Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Sat, 12 Oct 2019 13:45:35 -0500
Subject: [PATCH 2/3] gnu: Add ghc-unagi-chan.
* gnu/packages/haskell-xyz.scm (ghc-unagi-chan): New variable.
---
gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 37df2ed909..e8a6a1c498 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -10631,6 +10631,39 @@ processes. It wraps around the @code{process} library, and intends to improve
upon it.")
(license license:expat)))
+(define-public ghc-unagi-chan
+ (package
+ (name "ghc-unagi-chan")
+ (version "0.4.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/unagi-chan/unagi-chan-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1lnl5n4jnjmm4chp461glcwkrrw63rjz3fvprwxcy3lkpbkrqvgn"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-atomic-primops" ,ghc-atomic-primops)
+ ("ghc-primitive" ,ghc-primitive)))
+ (arguments
+ `(#:tests? #f ; FIXME: Tests can't find Data.Primitive.Addr
+ #:cabal-revision
+ ("1"
+ "09pqi867wskwgc5lpn197f895mbn1174ydgllvcppcsmrz2b6yr6")))
+ (home-page "http://hackage.haskell.org/package/unagi-chan")
+ (synopsis "Fast concurrent queues with a Chan-like API, and more")
+ (description
+ "This library provides implementations of concurrent FIFO queues (for
+both general boxed and primitive unboxed values) that are fast, perform well
+under contention, and offer a Chan-like interface. The library may be of
+limited usefulness outside of x86 architectures where the fetch-and-add
+instruction is not available.")
+ (license license:bsd-3)))
+
(define-public ghc-unbounded-delays
(package
(name "ghc-unbounded-delays")
--
2.23.0
next prev parent reply other threads:[~2019-10-12 19:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-12 19:32 [bug#37717] [PATCH 0/3] gnu: Add kmonad Alex Griffin
2019-10-12 19:33 ` [bug#37717] [PATCH 1/3] gnu: Add ghc-atomic-primops Alex Griffin
2019-10-18 18:23 ` Marius Bakke
2019-10-12 19:34 ` Alex Griffin [this message]
2019-10-18 18:28 ` [bug#37717] [PATCH 2/3] gnu: Add ghc-unagi-chan Marius Bakke
2019-10-12 19:38 ` [bug#37717] [PATCH 3/3] gnu: Add kmonad Alex Griffin
2019-10-12 22:32 ` Alex Griffin
2019-10-18 18:37 ` Marius Bakke
2019-10-18 18:47 ` [bug#37717] [PATCH 0/3] " Marius Bakke
2019-10-26 2:43 ` Alex Griffin
2019-10-28 23:11 ` Marius Bakke
2019-10-30 3:56 ` bug#37717: " Alex Griffin
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=f66552cb-b5f2-4288-a366-bfd077e8bba4@www.fastmail.com \
--to=a@ajgrf.com \
--cc=37717@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).