From f3aca26d3d67d39e30064b29384344da49159fb7 Mon Sep 17 00:00:00 2001 From: quanrong Date: Tue, 2 Sep 2025 15:21:53 +0200 Subject: [PATCH] gnu: Add go-github-com-urfave-cli-v3. * gnu/packages/golang-xyz.scm (go-github-com-urfave-cli-v3): New variable. Change-Id: Ic288e702c1b08fb5dfcf739c3edb32974b100174 Co-authored-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index c1bdb060fb6caa06e9b9cc6d1fde7c86b333bc1a..8e379ba3f8868f0967f3b8c2b243ca7071fa6752 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -19846,6 +19846,33 @@ distributable command line applications in an expressive way.") go-github-com-xrash-smetrics go-gopkg-in-yaml-v3)))) +(define-public go-github-com-urfave-cli-v3 + (package + (inherit go-github-com-urfave-cli-v2) + (name "go-github-com-urfave-cli-v3") + (version "3.4.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/urfave/cli") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1g8vk5wpx2vnb600ppkjh9j8aql0jgdgp5rrk06h92j7sx17fnfc")) + (modules '((guix build utils))) + (snippet #~(begin + ;; Submodules with their own go.mod files and packaged separately: + ;; + ;; - github.com/urfave/cli/docs/v3 + (delete-file-recursively "docs"))))) + (arguments + (list + #:import-path "github.com/urfave/cli/v3" + #:test-flags + #~(list "-vet=off"))) + (propagated-inputs '()))) + (define-public go-github-com-valyala-bytebufferpool (package (name "go-github-com-valyala-bytebufferpool")