gnu: Add go-github-com-klauspost-asmfmt.

* gnu/packages/golang-xyz.scm (go-github-com-klauspost-asmfmt,
go-asmfmt): New variables.

Change-Id: Ib6d7b3f0e844e8f3a5e1b29d458faa115b9d670a
This commit is contained in:
Sharlatan Hellseher 2025-01-11 14:44:43 +00:00
parent ca1312816b
commit 22b4bd772a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -8830,6 +8830,30 @@ Goroutine-safe connections)
manipulate processes in a safe way.")
(license license:expat)))
(define-public go-github-com-klauspost-asmfmt
(package
(name "go-github-com-klauspost-asmfmt")
(version "1.3.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/klauspost/asmfmt")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "01qas9x9qb0s1aiq0235p8hvvqqn76ff0cs4cg71paxcy6l1a4k3"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/klauspost/asmfmt"))
(home-page "https://github.com/klauspost/asmfmt")
(synopsis "Go Assembler Formatter")
(description
"This package implements functionality to format Assembler code the same
way that @code{gofmt} formats Go code.")
(license license:expat)))
(define-public go-github-com-klauspost-cpuid
(package
(name "go-github-com-klauspost-cpuid")
@ -16710,6 +16734,17 @@ library.")
#:import-path "github.com/yuin/gopher-lua/cmd/glua"
#:unpack-path "github.com/yuin/gopher-lua"))))
(define-public go-asmfmt
(package
(inherit go-github-com-klauspost-asmfmt)
(name "go-asmfmp")
(arguments
(list
#:tests? #f
#:install-source? #f
#:import-path "github.com/klauspost/asmfmt/cmd/asmfmt"
#:unpack-path "github.com/klauspost/asmfmt"))))
(define-public go-chroma
(package
(inherit go-github-com-alecthomas-chroma-v2)