Subject: bug#38968: closed (Re: [bug#38968] [PATCH] gnu: Add ghc-pipes.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 07 Jan 2020 19:28:01 +0000

Your bug report

#38968: [PATCH] gnu: Add ghc-pipes.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
38968: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38968
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#38968] [PATCH] gnu: Add ghc-pipes.
From: Brett Gilio <[email-masked]>
To: Alexandru-Sergiu Marton <[email-masked]>
Cc: Alexandru-Sergiu Marton <[email-masked]>, [email-masked]
Date: Tue, 07 Jan 2020 13:27:56 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Sergiu! I have pushed this to master with
4639fa325c212eec7e2d45693d1ddf04287c316a. I also included a revision
using HTTPS for the home-page.

Thanks! Closing.
-- 
Brett M. Gilio
GNU Guix, Contributor | GNU Project, Webmaster
[DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE]
<[email-masked]> <[email-masked]>

Subject: [PATCH] gnu: Add ghc-pipes.
From: Alexandru-Sergiu Marton <[email-masked]>
To: [email-masked]
Cc: Alexandru-Sergiu Marton <[email-masked]>
Date: Mon, 6 Jan 2020 11:47:47 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/haskell-xyz.scm (ghc-pipes): New variable.
---
 gnu/packages/haskell-xyz.scm | 43 ++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 03ae83d50e..d73ca1886c 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8615,6 +8615,49 @@ system dependencies.")
 functions for the ghc-persistent package.")
     (license license:expat)))
 
+(define-public ghc-pipes
+  (package
+    (name "ghc-pipes")
+    (version "4.3.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/pipes/"
+             "pipes-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1ch3xr5f5if0psd3lsyrpkwrgh36synnzqcpimghprys68l4zfkn"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-exceptions" ,ghc-exceptions)
+       ("ghc-mmorph" ,ghc-mmorph)
+       ("ghc-void" ,ghc-void)
+       ("ghc-semigroups" ,ghc-semigroups)))
+    (native-inputs
+     `(("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-test-framework" ,ghc-test-framework)
+       ("ghc-test-framework-quickcheck2"
+        ,ghc-test-framework-quickcheck2)))
+    (home-page
+     "http://hackage.haskell.org/package/pipes")
+    (synopsis "Compositional pipelines")
+    (description
+     "A clean and powerful stream processing library that lets you build
+and connect reusable streaming components.  Advantages over traditional streaming
+libraries:
+@itemize
+@item Concise API: Use simple commands like @code{for}, (@code{>->}), @code{await},
+and @code{yield}
+@item Blazing fast: Implementation tuned for speed, including shortcut fusion
+@item Lightweight Dependency: pipes is small and compiles very rapidly, including
+dependencies
+@item Elegant semantics: Use practical category theory
+@item ListT: Correct implementation of @code{ListT} that interconverts with pipes
+@item Bidirectionality: Implement duplex channels
+@end itemize")
+    (license license:bsd-3)))
+
 (define-public ghc-polyparse
   (package
     (name "ghc-polyparse")
-- 
2.24.1