guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 8a42ed84d1b410aeaf1640ff0c89a68d36971144
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Oct 7 18:26:51 2025 +0100

    gnu: Add go-github-com-schollz-cli-v2.
    
    * gnu/packages/golang-xyz.scm (go-github-com-schollz-cli-v2): New variable.
    
    Change-Id: Iec30a56e8b2e46e8872b5bf99ec9af1c3443e1cb
---
 gnu/packages/golang-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 1a29f695cd..72363fdb64 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -18651,6 +18651,41 @@ specified in DCE 1.1).")
 configuration file.")
     (license license:isc)))
 
+(define-public go-github-com-schollz-cli-v2
+  ;; It's ad-hoc fork of <https://github.com/urfave/cli> to build
+  ;; <https://github.com/schollz/croc>.
+  (hidden-package
+   (package
+     (name "go-github-com-schollz-cli-v2")
+     (version "2.2.1")
+     (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/schollz/cli";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0wlqfhsrfib4b5b5xlkmgwglpzajjabrf4wisp7q8nvnw9ky86jh"))))
+     (build-system go-build-system)
+     (arguments
+      (list
+       #:import-path "github.com/schollz/cli/v2"
+       #:test-flags
+       ;; panic: flag "--foo" begins with - [recovered]
+       ;; panic: flag "--foo" begins with -
+       #~(list "-skip" "TestApp_RunAsSubCommandIncorrectUsage|TestToMan")))
+     (propagated-inputs
+      (list go-github-com-burntsushi-toml
+            go-github-com-cpuguy83-go-md2man-v2
+            go-gopkg-in-yaml-v2))
+     (home-page "https://github.com/schollz/cli";)
+     (synopsis "Package for building command line apps in Golang")
+     (description
+      "Package @code{cli} provides a minimal framework for creating and
+organizing command line Go applications.")
+     (license license:expat))))
+
 (define-public go-github-com-schollz-progressbar-v3
   (package
     (name "go-github-com-schollz-progressbar-v3")

Reply via email to