From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 01 04:33:33 2022 Received: (at submit) by debbugs.gnu.org; 1 Feb 2022 09:33:33 +0000 Received: from localhost ([127.0.0.1]:41721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEpXY-0008L1-V8 for submit@debbugs.gnu.org; Tue, 01 Feb 2022 04:33:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:43982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEpXW-0008Kp-RF for submit@debbugs.gnu.org; Tue, 01 Feb 2022 04:33:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEpXW-0008Sl-KX for guix-patches@gnu.org; Tue, 01 Feb 2022 04:33:30 -0500 Received: from forward102o.mail.yandex.net ([37.140.190.182]:37696) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEpXU-0005H0-MN for guix-patches@gnu.org; Tue, 01 Feb 2022 04:33:30 -0500 Received: from myt6-5578c6b2b9c3.qloud-c.yandex.net (myt6-5578c6b2b9c3.qloud-c.yandex.net [IPv6:2a02:6b8:c12:37a8:0:640:5578:c6b2]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 66AF36FF9A71 for ; Tue, 1 Feb 2022 12:33:23 +0300 (MSK) Received: from myt6-efff10c3476a.qloud-c.yandex.net (myt6-efff10c3476a.qloud-c.yandex.net [2a02:6b8:c12:13a3:0:640:efff:10c3]) by myt6-5578c6b2b9c3.qloud-c.yandex.net (mxback/Yandex) with ESMTP id iRP2HNeRC2-XNcqTR2W; Tue, 01 Feb 2022 12:33:23 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1643708003; bh=GxyD06nZ5l+zTfl5oWxQK2uON5etcBQM2cY2CG85MqA=; h=In-Reply-To:References:Date:Subject:To:From:Message-Id:Cc; b=AV90fAzy/ybtVpuK5kNiNhYIq42dv7D9ZbgVjSqxntNe5v5K03OSMH5fh7emiE3bq KEfXC30RJ/U4de3nfomGDkM5I6yXkjOTLr5yQLoGYAsjUvdZhLF4Ep5rJ7S864iy5P IVNHZvTVJsl5wf5ceKrVw20kX3/hZyiPj+ihi5CI= Authentication-Results: myt6-5578c6b2b9c3.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Received: by myt6-efff10c3476a.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id mPmKymJZ8Y-XKIWZ00T; Tue, 01 Feb 2022 12:33:22 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) X-Yandex-Fwd: 2 From: WinterHound To: guix-patches@gnu.org Subject: Add ghc-pipes-safe Date: Tue, 1 Feb 2022 15:02:06 +0530 Message-Id: <20220201093211.6720-5-winterhound@yandex.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220201093211.6720-1-winterhound@yandex.com> References: <20220201093211.6720-1-winterhound@yandex.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=37.140.190.182; envelope-from=winterhound@yandex.com; helo=forward102o.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: WinterHound X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --- gnu/packages/haskell-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index a7e4bffc8e..a026024c4a 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -9737,6 +9737,34 @@ (define-public ghc-pipes-bytestring (description "This library provides pipes utilities for ByteStrings") (license license:bsd-3))) +(define-public ghc-pipes-safe + (package + (name "ghc-pipes-safe") + (version "2.3.3") + (source + (origin + (method url-fetch) + (uri (hackage-uri "pipes-safe" version)) + (sha256 + (base32 "19gp93x5m1bnq240bj3v33pglf9r5gzji39fsjcazji837czghab")))) + (build-system haskell-build-system) + (inputs + (list ghc-transformers-base ghc-monad-control ghc-primitive ghc-pipes)) + (home-page "http://hackage.haskell.org/package/pipes-safe") + (synopsis "Safety for the pipes ecosystem") + (description "This package adds resource management and exception handling + to the pipes ecosystem.\n +Notable features include: +@enumerate +@item Resource Safety: Guarantee finalization using finally, bracket and more +@item Exception Safety: Even against asynchronous exceptions! +@item Laziness: Only acquire resources when you need them +@item Promptness: Finalize resources early when you are done with them +@item Native Exception Handling: Catch and resume from exceptions inside pipes +@item No Buy-in: Mix resource-safe pipes with unmanaged pipes using hoist +@end enumerate\n") + (license license:bsd-3))) + (define-public ghc-pointedlist (package (name "ghc-pointedlist") -- 2.34.0