GNU bug report logs - #38847
[PATCH] gnu: Add ghc-say.

Previous Next

Package: guix-patches;

Reported by: Alexandru-Sergiu Marton <brown121407 <at> gmail.com>

Date: Wed, 1 Jan 2020 16:50:02 UTC

Severity: normal

Tags: patch

Done: Brett Gilio <brettg <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38847 in the body.
You can then email your comments to 38847 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#38847; Package guix-patches. (Wed, 01 Jan 2020 16:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexandru-Sergiu Marton <brown121407 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 01 Jan 2020 16:50:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alexandru-Sergiu Marton <brown121407 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>
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 @code{killThread}.")
     (description "Reasonably fast data encoding library.")
     (license license:bsd-3)))
 
+(define-public ghc-say
+  (package
+    (name "ghc-say")
+    (version "0.1.0.1")
+    (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 properties:
+@itemize
+@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
   (package
     (name "ghc-scientific")
-- 
2.24.1





Reply sent to Brett Gilio <brettg <at> gnu.org>:
You have taken responsibility. (Thu, 02 Jan 2020 04:27:02 GMT) Full text and rfc822 format available.

Notification sent to Alexandru-Sergiu Marton <brown121407 <at> gmail.com>:
bug acknowledged by developer. (Thu, 02 Jan 2020 04:27:02 GMT) Full text and rfc822 format available.

Message #10 received at 38847-done <at> debbugs.gnu.org (full text, mbox):

From: Brett Gilio <brettg <at> gnu.org>
To: Alexandru-Sergiu Marton <brown121407 <at> gmail.com>
Cc: Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>,
 38847-done <at> debbugs.gnu.org
Subject: Re: [bug#38847] [PATCH] gnu: Add ghc-say.
Date: Wed, 01 Jan 2020 22:26:35 -0600
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.

Thanks!

-- 
Brett M. Gilio
GNU Guix, Contributor | GNU Project, Webmaster
[DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE]
<brettg <at> gnu.org> <brettg <at> posteo.net>




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 30 Jan 2020 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.