aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatherine Cox-Buday <cox.katherine.e@gmail.com>2020-06-02 12:47:09 -0500
committerGuillaume Le Vaillant <glv@posteo.net>2020-06-05 15:17:46 +0200
commitaae3df1817ebb98891ce5866c908b3a9a009835a (patch)
treec5834853a2970071db58327775c474e20f39e794
parent38d738e92bfc634f4d515247a5ac2719653e2735 (diff)
downloadguix-aae3df1817ebb98891ce5866c908b3a9a009835a.tar
guix-aae3df1817ebb98891ce5866c908b3a9a009835a.tar.gz
gnu: Add cl-exponential-backoff.
* gnu/packages/lisp-xyz.scm (sbcl-exponential-backoff, cl-exponential-backoff, ecl-exponential-backoff): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r--gnu/packages/lisp-xyz.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index f6f523daf9..62977f5e8b 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -11800,3 +11800,33 @@ This is intended to be a successor of Prove.")
(define-public ecl-rove
(sbcl-package->ecl-package sbcl-rove))
+
+(define-public sbcl-exponential-backoff
+ (let ((commit "8d9e8444d8b3184a524c12ce3449f91613ab714f"))
+ (package
+ (name "sbcl-exponential-backoff")
+ (version (git-version "0" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/death/exponential-backoff.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1389hm9hxv85s0125ja4js1bvh8ay4dsy9q1gaynjv27ynik6gmv"))))
+ (build-system asdf-build-system/sbcl)
+ (home-page "https://github.com/death/exponential-backoff")
+ (synopsis "Exponential backoff algorithm in Common Lisp")
+ (description
+ "An implementation of the exponential backoff algorithm in Common Lisp.
+Inspired by the implementation found in Chromium. Read the header file to
+learn about each of the parameters.")
+ (license license:expat))))
+
+(define-public cl-exponential-backoff
+ (sbcl-package->cl-source-package sbcl-exponential-backoff))
+
+(define-public ecl-exponential-backoff
+ (sbcl-package->ecl-package sbcl-exponential-backoff))