unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: WinterHound <winterhound@yandex.com>
To: 53687@debbugs.gnu.org
Cc: WinterHound <winterhound@yandex.com>
Subject: [bug#53687] Add ghc-pipes-safe
Date: Tue,  1 Feb 2022 15:02:06 +0530	[thread overview]
Message-ID: <20220201093211.6720-5-winterhound@yandex.com> (raw)
In-Reply-To: <20220201093211.6720-1-winterhound@yandex.com>

---
 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





  parent reply	other threads:[~2022-02-01  9:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-01  9:32 [bug#53684] Add ghc-tdigest WinterHound
2022-02-01  9:32 ` [bug#53683] Add ghc-pipes-parse WinterHound
2022-02-01  9:32 ` [bug#53685] Add ghc-pipes-group WinterHound
2022-02-01  9:32 ` [bug#53686] Add ghc-pipes-bytestring WinterHound
2022-02-01  9:32 ` WinterHound [this message]
2022-02-01  9:32 ` [bug#53688] Add ghc-monad-time WinterHound
2022-02-01  9:32 ` [bug#53689] Add ghc-concise WinterHound
2022-02-01  9:32 ` [bug#53690] Add ghc-machines WinterHound
2022-02-01  9:32 ` [bug#53691] Add ghc-lens-aeson WinterHound
2022-02-01  9:32 ` [bug#53692] Add ghc-indexed-profunctors WinterHound

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220201093211.6720-5-winterhound@yandex.com \
    --to=winterhound@yandex.com \
    --cc=53687@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).