1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 10:30:43 +02:00

gnu: Add go-rsc-io-goversion.

* gnu/packages/golang-xyz.scm (go-rsc-io-goversion): New variable.

Change-Id: If030e32a7b491ca9e224517e1e52e38fabb4d29a
This commit is contained in:
Sharlatan Hellseher 2025-02-13 16:15:01 +00:00
parent 022b556ab6
commit f18c19cd23
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -18107,6 +18107,30 @@ and other languages. More precisely, it is the syntax accepted by RE2 and
described at https://golang.org/s/re2syntax, except for @code{\\C.}")
(license license:bsd-3)))
(define-public go-rsc-io-goversion
(package
(name "go-rsc-io-goversion")
(version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/rsc/goversion")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0k5rskhl3653snrfwwv0a9ia3jf52gwkc6p4abj4xb04s23qczcs"))))
(build-system go-build-system)
(arguments
(list
#:import-path "rsc.io/goversion"))
(home-page "https://github.com/rsc/goversion")
(synopsis "Print version used to build Go executables")
(description
"Goversion scans a directory tree and, for every executable it finds,
prints the Go version used to build that executable.")
(license license:bsd-3)))
(define-public go-sigs-k8s-io-json
(package
(name "go-sigs-k8s-io-json")