diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2025-05-30 12:30:33 +0900 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-10 12:31:49 +0100 |
commit | c6346a7caeaf84dbe1a3a6f5c230b1400e7ddc53 (patch) | |
tree | 2aa2228b27e976637abf5144ccb2a889fbd9d31a /gnu/packages/golang-xyz.scm | |
parent | d44361311e672b5362f2c6cb5c35fb861815814d (diff) |
gnu: Add go-github-com-segmentio-asm.
* gnu/packages/golang-xyz.scm (go-github-com-segmentio-asm): New variable.
Change-Id: Ie3e85b40cd7629c39a711ac29cb3945b4b4fd8d5
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.ccom>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r-- | gnu/packages/golang-xyz.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 5945da0c5e..7d60a38497 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -14975,6 +14975,43 @@ is undetermined, a customizable spinner is shown.") It's typically used for testing responses with larger data bodies.") (license license:expat))) +(define-public go-github-com-segmentio-asm + (package + (name "go-github-com-segmentio-asm") + (version "1.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/segmentio/asm") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "01c90h83rq7fkvzfn28lz7x0455zxbvaxknd3c8259dfszfyr2zx")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Submodules with their own go.mod files and packaged separately: + ;; + ;; - github.com/segmentio/asm/build + (delete-file-recursively "build"))))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + #:import-path "github.com/segmentio/asm")) + (propagated-inputs + (list go-golang-org-x-sys)) + (home-page "https://github.com/segmentio/asm") + (synopsis " Go library providing algorithms optimized for modern CPUs") + (description + "This package aims to provide algorithms optimized to +leverage advanced instruction sets of modern CPUs to maximize throughput and +take the best advantage of the available compute power. It includes functions +that have often been designed to work on arrays of values, which is where SIMD +and branchless algorithms shine.") + (license license:expat))) + (define-public go-github-com-sereal-sereal-go-sereal (package (name "go-github-com-sereal-sereal-go-sereal") |