summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Rodrigues <arthurhdrodrigues@proton.me>2025-10-22 15:45:39 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-09 09:10:03 +0000
commit9eac3f26d1ecaf7aa8edfce0c4cc652b696788fd (patch)
treea061122ea0c5d66f95baeb0af6dc6eed14f25091
parentfcc34e53ada097d0ba844e3e9d572ac1c267d5c2 (diff)
gnu: Add go-github-com-tonistiigi-go-archvariant.
* gnu/packages/golang-xyz.scm (go-github-com-tonistiigi-go-archvariant): New variable. Change-Id: Iecdb31df1df2d89cc7eb943fe98a384c153f0f74 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index eb67af170d5..70f3491dcc3 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -20975,6 +20975,33 @@ structures using selector strings. It's similar to @code{jq}/@code{yq}, but
supports JSON, YAML, TOML, XML and CSV with zero runtime dependencies.")
(license license:expat)))
+(define-public go-github-com-tonistiigi-go-archvariant
+ (package
+ (name "go-github-com-tonistiigi-go-archvariant")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tonistiigi/go-archvariant")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1kmchhx374ahd9a7p0qx3gq9cffxfkkgq503q95ygya986xkgnjz"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/tonistiigi/go-archvariant"))
+ (home-page "https://github.com/tonistiigi/go-archvariant")
+ (synopsis "System's maximum compatibility version of Golang")
+ (description
+ "This Go package provides a functionality to determine the maximum
+compatibility version of the current system. On x86-64 platforms it returns
+the maximum current microarchitecture level as defined in
+@url{https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels,
+Microarchitecture levels}.")
+ (license license:expat)))
+
(define-public go-github-com-tonistiigi-go-csvvalue
(package
(name "go-github-com-tonistiigi-go-csvvalue")