From 95cf183452348612b4024c54877d9b419d9a4852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leo=20Nikkil=C3=A4?= Date: Sat, 17 Aug 2024 12:05:59 +0100 Subject: [PATCH] gnu: Add go-github-com-oklog-run. * gnu/packages/golang-xyz.scm (go-github-com-oklog-run): New variable. Signed-off-by: Sharlatan Hellseher Change-Id: If0a0f1cb274ed10e991001079ff152dbe31c8ce4 --- gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 7e674ae0ec..d58b1434c2 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -5049,6 +5049,32 @@ queue.") NSQ protocol @url{https://nsq.io/}.") (license license:expat))) +(define-public go-github-com-oklog-run + (package + (name "go-github-com-oklog-run") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/oklog/run") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0r55p3kgdkgw55i33lqvvvl60mjp92mhd1170m980sw98z9150jk")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/oklog/run")) + (home-page "https://github.com/oklog/run") + (synopsis "Universal mechanism to manage goroutine lifecycles") + (description + "@code{run.Group} is a universal mechanism to manage goroutine +lifecycles, written to manage component lifecycles in @code{func main} for OK +Log. It's useful in any circumstance where you need to orchestrate multiple +goroutines as a unit whole.") + (license license:asl2.0))) + (define-public go-github-com-op-go-logging (package (name "go-github-com-op-go-logging")