guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72594] [PATCH 2/7] gnu: Add go-github-com-google-subcommands.


From: Artyom V. Poptsov
Subject: [bug#72594] [PATCH 2/7] gnu: Add go-github-com-google-subcommands.
Date: Mon, 12 Aug 2024 20:26:24 +0300

* gnu/packages/golang.scm (go-github-com-google-subcommands): New variable.

Change-Id: Ifbd51d785435fa8abb9d233e2846e8cf9642ae3f
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e74c50f2e7..2d5844669e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8235,6 +8235,29 @@ (define-public go-github-com-google-shlex
 using shell-style rules for quoting and commenting.")
     (license license:asl2.0)))
 
+(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
+     '(#:import-path "github.com/google/subcommands"))
+    (home-page "https://github.com/google/subcommands";)
+    (synopsis "Go subcommand library")
+    (description
+     "@code{subcommands} is a Go package that implements a simple way for a 
single
+command to have many subcommands, each of which takes arguments and so forth.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-google-btree
   (package
     (name "go-github-com-google-btree")
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]