From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:57903) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioOzT-0003T9-Ja for guix-patches@gnu.org; Mon, 06 Jan 2020 04:48:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioOzS-0006E4-B5 for guix-patches@gnu.org; Mon, 06 Jan 2020 04:48:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39070) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ioOzS-0006Dz-8b for guix-patches@gnu.org; Mon, 06 Jan 2020 04:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ioOzS-00050B-7I for guix-patches@gnu.org; Mon, 06 Jan 2020 04:48:02 -0500 Subject: [bug#38968] [PATCH] gnu: Add ghc-pipes. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:57826) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioOyv-00039J-Fs for guix-patches@gnu.org; Mon, 06 Jan 2020 04:47:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioOyu-0005w9-5f for guix-patches@gnu.org; Mon, 06 Jan 2020 04:47:29 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:36981) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ioOyu-0005un-09 for guix-patches@gnu.org; Mon, 06 Jan 2020 04:47:28 -0500 Received: by mail-wr1-x42e.google.com with SMTP id w15so36296663wru.4 for ; Mon, 06 Jan 2020 01:47:25 -0800 (PST) From: Alexandru-Sergiu Marton Date: Mon, 6 Jan 2020 11:47:47 +0200 Message-Id: <20200106094747.18268-1-brown121407@member.fsf.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38968@debbugs.gnu.org Cc: Alexandru-Sergiu Marton * 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