guix-commits
[Top][All Lists]
Advanced

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

35/224: gnu: Add go-rsc-io-goversion.


From: guix-commits
Subject: 35/224: gnu: Add go-rsc-io-goversion.
Date: Fri, 21 Mar 2025 17:15:48 -0400 (EDT)

sharlatan pushed a commit to branch go-team
in repository guix.

commit f6ab44a359f94269a48ab98effc03a6dc143d4c8
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Feb 13 16:15:01 2025 +0000

    gnu: Add go-rsc-io-goversion.
    
    * gnu/packages/golang-xyz.scm (go-rsc-io-goversion): New variable.
    
    Change-Id: If030e32a7b491ca9e224517e1e52e38fabb4d29a
---
 gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 28119690c4..5cb4fbb0e6 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -18049,6 +18049,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")



reply via email to

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