From af714ebceedb14e3ed15fbb8cc471178d631bc6f Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Fri, 8 Mar 2024 21:23:25 +0300 Subject: gnu: Add go-github-com-jbenet-goprocess. * gnu/packages/golang-xyz.scm (go-github-com-jbenet-goprocess): New variable. Change-Id: I5683a9e0df7bb1a17b2e813ab6c611f0b6c2ea9c Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index ef700b9373..528c07d9f1 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1035,6 +1035,34 @@ increment versions.") @end itemize") (license license:bsd-3))) +(define-public go-github-com-jbenet-goprocess + (package + (name "go-github-com-jbenet-goprocess") + (version "0.1.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jbenet/goprocess") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1z4a5skx9kh2c727pc6zz0vhf9v8acd320s7z0f1kwy3y1nbdhjk")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/jbenet/goprocess")) + (native-inputs + (list go-github-com-jbenet-go-cienv)) + (home-page "https://github.com/jbenet/goprocess") + (synopsis "Manage process life cycles in Go") + (description + "@code{goprocess} introduces a way to manage process lifecycles in +Go. It is much like @code{go.net/context} (it actually uses a Context), but it is +more like a Context-WaitGroup hybrid. @code{goprocess} is about being able to start +and stop units of work, which may receive @code{Close} signals from many clients.") + (license license:expat))) + (define-public go-github-com-jinzhu-copier (package (name "go-github-com-jinzhu-copier") -- cgit v1.2.3