From 9eac3f26d1ecaf7aa8edfce0c4cc652b696788fd Mon Sep 17 00:00:00 2001 From: Arthur Rodrigues Date: Wed, 22 Oct 2025 15:45:39 +0000 Subject: [PATCH] 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 --- 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 eb67af170d51cbc622dd9cd95959f7d42c50d2f3..70f3491dcc31557bf0ca8396dc8c1efbb474ce48 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")