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

commit fcb498d7d734c5c5e052adfc5ec914fc5cbc6b1b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Jan 11 14:44:43 2025 +0000

    gnu: Add go-github-com-klauspost-asmfmt.
    
    * gnu/packages/golang-xyz.scm (go-github-com-klauspost-asmfmt,
    go-asmfmt): New variables.
    
    Change-Id: Ib6d7b3f0e844e8f3a5e1b29d458faa115b9d670a
---
 gnu/packages/golang-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 2cf575ad1b..cff3afcc7d 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -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)

Reply via email to