[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
210/329: gnu: Add ghc-retry.
From: |
guix-commits |
Subject: |
210/329: gnu: Add ghc-retry. |
Date: |
Wed, 20 Nov 2019 21:18:04 -0500 (EST) |
samplet pushed a commit to branch master
in repository guix.
commit b9debc37b80df414925e1b0438b3c0377f3d3b1b
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 7b1c475..d5ce540 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8635,6 +8635,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")
- 215/329: gnu: ghc-either: Update to 5.0.1.1., (continued)
- 215/329: gnu: ghc-either: Update to 5.0.1.1., guix-commits, 2019/11/20
- 140/329: gnu: ghc-atomic-write: Update to 0.2.0.6., guix-commits, 2019/11/20
- 168/329: gnu: Add ghc-network-bsd., guix-commits, 2019/11/20
- 224/329: gnu: ghc-rerebase: Update to 1.3.1.1., guix-commits, 2019/11/20
- 225/329: gnu: ghc-wai-extra: Update to 3.0.28., guix-commits, 2019/11/20
- 167/329: gnu: ghc-attoparsec-iso8601: Update to 1.0.1.0., guix-commits, 2019/11/20
- 191/329: gnu: ghc-pandoc-types: Update to 1.17.6.1., guix-commits, 2019/11/20
- 196/329: gnu: ghc-skylighting: Update to 0.8.2.1., guix-commits, 2019/11/20
- 204/329: gnu: ghc-cheapskate: Update to 0.1.1.1., guix-commits, 2019/11/20
- 208/329: gnu: Add ghc-tasty-hedgehog., guix-commits, 2019/11/20
- 210/329: gnu: Add ghc-retry.,
guix-commits <=
- 136/329: gnu: ghc-wave: Update to 0.2.0., guix-commits, 2019/11/20
- 135/329: gnu: ghc-gnuplot: Update to 0.5.6., guix-commits, 2019/11/20
- 145/329: gnu: ghc-chell: Update to 0.5., guix-commits, 2019/11/20
- 155/329: gnu: ghc-megaparsec: Update to 7.0.5., guix-commits, 2019/11/20
- 156/329: gnu: ghc-socks: Update to 0.6.1., guix-commits, 2019/11/20
- 164/329: gnu: ghc-aeson: Update to 1.4.5.0., guix-commits, 2019/11/20
- 172/329: gnu: ghc-hxt: Update to 9.3.1.18., guix-commits, 2019/11/20
- 175/329: gnu: ghc-libmpd: Update to 0.9.0.10., guix-commits, 2019/11/20
- 170/329: gnu: ghc-stringsearch: Update Cabal file to r1., guix-commits, 2019/11/20
- 173/329: gnu: ghc-hslua: Update to 1.0.3.2., guix-commits, 2019/11/20