guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 1dfc621cdedd55631cfe9d4d6b104d1dd8f2043e
Author: Arthur Rodrigues <[email protected]>
AuthorDate: Thu May 21 01:18:56 2026 +0000
gnu: Add go-github-com-caarlos0-go-version.
* gnu/packages/golang-xyz.scm (go-github-com-caarlos0-go-version): New
variable.
Change-Id: I2ff3528e6ee2d23f093996c25d00c3b5d2b6fee8
Relates-to: guix/guix!5417
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0e8d5445ac..9aec5b3c95 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4434,6 +4434,29 @@ information for Golang.")
variables into structs.")
(license license:expat)))
+(define-public go-github-com-caarlos0-go-version
+ (package
+ (name "go-github-com-caarlos0-go-version")
+ (version "0.2.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/caarlos0/go-version")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0kp78am3yzffz8r70f1skq0m2vms0wk37f76hqbfg1r29hay1ban"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/caarlos0/go-version"))
+ (home-page "https://github.com/caarlos0/go-version")
+ (synopsis "Fetch Go module version")
+ (description
+ "Package goversion provides utilities to get the Go module version
information.")
+ (license license:expat)))
+
(define-public go-github-com-calebcase-tmpfile
(package
(name "go-github-com-calebcase-tmpfile")