[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
210/290: gnu: Add ghc-retry.
From: |
guix-commits |
Subject: |
210/290: gnu: Add ghc-retry. |
Date: |
Wed, 6 Nov 2019 08:23:10 -0500 (EST) |
samplet pushed a commit to branch wip-haskell-updates
in repository guix.
commit 8ee14757d1c681e50eb82b5beee5101a3420c7da
Author: Timothy Sample <address@hidden>
Date: Sun Nov 3 21:14:06 2019 -0500
gnu: Add ghc-retry.
* gnu/packages/haskell-xyz.scm (ghc-retry): New variable.
---
gnu/packages/haskell-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 392553d..adc70cd 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8633,6 +8633,40 @@ connections.")
code where you can safely allocate resources.")
(license license:bsd-3)))
+(define-public ghc-retry
+ (package
+ (name "ghc-retry")
+ (version "0.8.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "retry/retry-" version ".tar.gz"))
+ (sha256
+ (base32
+ "02k03r86amg1vbrsvb644342ym13d9jwkzki9sk93pdg5l8j35dj"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-exceptions" ,ghc-exceptions)
+ ("ghc-random" ,ghc-random)))
+ (native-inputs
+ `(("ghc-hunit" ,ghc-hunit)
+ ("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+ ("ghc-tasty-hedgehog" ,ghc-tasty-hedgehog)
+ ("ghc-hedgehog" ,ghc-hedgehog)))
+ (home-page "http://github.com/Soostone/retry")
+ (synopsis "Retry combinators for monadic actions that may fail")
+ (description "This package exposes combinators that can wrap
+arbitrary monadic actions. They run the action and potentially retry
+running it with some configurable delay for a configurable number of
+times. The purpose is to make it easier to work with IO and especially
+network IO actions that often experience temporary failure and warrant
+retrying of the original action. For example, a database query may time
+out for a while, in which case we should hang back for a bit and retry
+the query instead of simply raising an exception.")
+ (license license:bsd-3)))
+
(define-public ghc-rfc5051
(package
(name "ghc-rfc5051")
- 205/290: gnu: Add ghc-network-byte-order., (continued)
- 205/290: gnu: Add ghc-network-byte-order., guix-commits, 2019/11/06
- 208/290: gnu: Add ghc-tasty-hedgehog., guix-commits, 2019/11/06
- 209/290: gnu: ghc-bsb-http-chunked: Update to 0.0.0.4., guix-commits, 2019/11/06
- 213/290: gnu: ghc-path-io: Update to 1.4.2., guix-commits, 2019/11/06
- 186/290: gnu: ghc-diff: Patch to work with newer QuickCheck., guix-commits, 2019/11/06
- 194/290: gnu: ghc-http-api-data: Update to 0.4.1., guix-commits, 2019/11/06
- 201/290: gnu: ghc-statistics: Update to 0.15.1.1., guix-commits, 2019/11/06
- 199/290: gnu: ghc-monad-par: Add a patch to fix tests on GHC 8.6., guix-commits, 2019/11/06
- 203/290: gnu: ghc-vault: Update to 0.3.1.3., guix-commits, 2019/11/06
- 206/290: gnu: ghc-http2: Update to 1.6.5., guix-commits, 2019/11/06
- 210/290: gnu: Add ghc-retry.,
guix-commits <=
- 225/290: gnu: ghc-wai-extra: Update to 3.0.28., guix-commits, 2019/11/06
- 221/290: gnu: ghc-cryptohash-md5: Update Cabal file to r4., guix-commits, 2019/11/06
- 235/290: gnu: ghc-monad-logger: Update to 0.3.30., guix-commits, 2019/11/06
- 214/290: gnu: ghc-free: Update to 5.1.2., guix-commits, 2019/11/06
- 217/290: gnu: ghc-snap-server: Update to 1.1.1.1., guix-commits, 2019/11/06
- 216/290: gnu: ghc-wai: Update to 3.2.2.1., guix-commits, 2019/11/06
- 224/290: gnu: ghc-rerebase: Update to 1.3.1.1., guix-commits, 2019/11/06
- 226/290: gnu: ghc-vector-builder: Update to 0.3.8., guix-commits, 2019/11/06
- 227/290: gnu: ghc-foldl: Update to 1.4.5., guix-commits, 2019/11/06
- 211/290: gnu: ghc-auto-update: Update to 0.1.6., guix-commits, 2019/11/06