[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38847: closed ([PATCH] gnu: Add ghc-say.)

From: GNU bug Tracking System
Subject: bug#38847: closed ([PATCH] gnu: Add ghc-say.)
Date: Thu, 02 Jan 2020 04:27:02 +0000

Your message dated Wed, 01 Jan 2020 22:26:35 -0600
with message-id <address@hidden>
and subject line Re: [bug#38847] [PATCH] gnu: Add ghc-say.
has caused the debbugs.gnu.org bug report #38847,
regarding [PATCH] gnu: Add ghc-say.
to be marked as done.

(If you believe you have received this mail in error, please contact

38847: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38847
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add ghc-say. Date: Wed, 1 Jan 2020 18:49:51 +0200
* gnu/packages/haskell-xyz.scm (ghc-say): New variable.
 gnu/packages/haskell-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 716d14d7fb..7c8eb9eb39 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -9690,6 +9690,41 @@ are not exception safe and can be broken by 
     (description "Reasonably fast data encoding library.")
     (license license:bsd-3)))
+(define-public ghc-say
+  (package
+    (name "ghc-say")
+    (version "")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://hackage.haskell.org/package/say/say-";
+               version
+               ".tar.gz"))
+        (sha256
+          (base32
+            "1r5kffjfwpas45g74sip8glrj1m9nygrnxjm7xgw898rq9pnafgn"))))
+    (build-system haskell-build-system)
+    (native-inputs
+     `(("ghc-hspec" ,ghc-hspec)
+       ("hspec-discover" ,hspec-discover)
+       ("ghc-unliftio" ,ghc-unliftio)))
+    (home-page "https://github.com/fpco/say#readme";)
+    (synopsis
+      "Send textual messages to a Handle in a thread-friendly way")
+    (description
+      "Simple, thread safe API to write a line of textual data to a Handle
+- such as sending some messages to the terminal - that has the following 
+@item Properly handle character encoding settings on the Handle
+@item For reasonably sized messages, ensure that the entire message is written
+ in one chunk to avoid interleaving data with other threads
+@item Avoid unnecessary memory allocations and copies
+@item Minimize locking
+@end itemize")
+    (license license:expat)))
 (define-public ghc-scientific
     (name "ghc-scientific")

--- End Message ---
--- Begin Message --- Subject: Re: [bug#38847] [PATCH] gnu: Add ghc-say. Date: Wed, 01 Jan 2020 22:26:35 -0600 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Hey Sergiu!

Thanks for the patch. I made some small changes to the home-page field,
and fixed some indentation issues. I have build and tested this and
pushed it to master with 4da75228eff7ed924e4cf9e66b6ed5693a5d1174.


Brett M. Gilio
GNU Guix, Contributor | GNU Project, Webmaster
[DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE]
<address@hidden> <address@hidden>

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]