summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-31 18:27:51 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:42:42 +0000
commitfcbabcfa8cfbcc41e99de0950a999cb40fdf9b01 (patch)
tree1087b606efd9a6fe01d0be90c077dee8df3c65c2
parentd86dc5ecfc8c52b327d761018366623bbdc91281 (diff)
gnu: Add go-github-com-go-cmd-cmd.
* gnu/packages/golang-xyz.scm (go-github-com-go-cmd-cmd): New variable. Change-Id: I4303a41624d8d0d7a588bafdb11a69c7761bbec6
-rw-r--r--gnu/packages/golang-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index fd5dd62e0c..87e25f34ed 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4458,6 +4458,35 @@ styled and positioned absolutely or relatively. They respond to keyboard,
mouse, and terminal resizing events.")
(license license:expat)))
+(define-public go-github-com-go-cmd-cmd
+ (package
+ (name "go-github-com-go-cmd-cmd")
+ (version "1.4.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-cmd/cmd")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1n465pnvphvs4jp3mn1krbxb0wcjclfcrif1c5zcir8idj18vsax"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/go-cmd/cmd"))
+ (native-inputs
+ (list go-github-com-go-test-deep))
+ (home-page "https://github.com/go-cmd/cmd")
+ (synopsis "Non-blocking external commands in Go with streaming output")
+ (description
+ "Package cmd runs external commands with concurrent access to output and
+status. It wraps the Go standard library @code{os/exec.Command} to correctly
+handle reading output (STDOUT and STDERR) while a command is running and
+killing a command. All operations are safe to call from multiple
+goroutines.")
+ (license license:expat)))
+
(define-public go-github-com-go-errors-errors
(package
(name "go-github-com-go-errors-errors")