summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2024-08-12 20:26:24 +0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-08-21 13:51:51 +0100
commit5812c99b85e31dfe3ecdcc07decb796b4df34290 (patch)
tree91b3fcc10de29d3c6a08235e8b8a729d0bdba032 /gnu/packages
parentfe10af63753bea0e33b52211a09ac52abe640d2c (diff)
downloadguix-5812c99b85e31dfe3ecdcc07decb796b4df34290.tar.gz
gnu: Add go-github-com-google-subcommands.
* gnu/packages/golang-xyz.scm (go-github-com-google-subcommands): New variable.

Change-Id: Ifbd51d785435fa8abb9d233e2846e8cf9642ae3f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/golang-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 8192b8870d..edaf976e12 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -2571,6 +2571,30 @@ non-blocking @code{TryLock} function to allow locking without blocking
 execution.")
     (license license:bsd-3)))
 
+(define-public go-github-com-google-subcommands
+  (package
+    (name "go-github-com-google-subcommands")
+    (version "1.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/google/subcommands")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "00w7fx92696z5p3isvpg71b4023g8f686xnhy56k08vc2q1r2hhw"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/google/subcommands"))
+    (home-page "https://github.com/google/subcommands")
+    (synopsis "Go subcommand library")
+    (description
+     "@code{subcommands} implements a functionality for a single command to
+have many subcommands, each of which takes arguments.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-gookit-color
   (package
     (name "go-github-com-gookit-color")