[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
381/401: gnu: Add go-github-com-bytedance-sonic.
From: |
guix-commits |
Subject: |
381/401: gnu: Add go-github-com-bytedance-sonic. |
Date: |
Thu, 26 Dec 2024 19:31:30 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 553b479b80c0f244aa2f613cc20469f1eba1924e
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Dec 26 20:49:33 2024 +0000
gnu: Add go-github-com-bytedance-sonic.
* gnu/packages/golang-xyz.scm (go-github-com-bytedance-sonic): New variable.
Change-Id: Ibbff1bf8656eb9af55aade8cda12d08a08ef8c40
---
gnu/packages/golang-xyz.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 054b4d8da5..828fe9ec33 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1691,6 +1691,55 @@ strings into words like a POSIX or Windows shell would.")
similar to Go's standard library @code{json} and @code{xml} package.")
(license license:expat)))
+(define-public go-github-com-bytedance-sonic
+ (package
+ (name "go-github-com-bytedance-sonic")
+ (version "1.12.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bytedance/sonic")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "011hp6lvqvx4facxsmy6vya02g9q3rlnmxcii827sbf6bssy7wxp"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ ;; Submodules with their own go.mod files and packaged separately:
+ ;;
+ ;; - github.com/bytedance/sonic/external_jsonlib_test
+ ;; - github.com/bytedance/sonic/fuzz
+ ;; - github.com/bytedance/sonic/generic_test
+ ;; - github.com/bytedance/sonic/loader
+ (for-each delete-file-recursively
+ (list "external_jsonlib_test"
+ "fuzz"
+ "generic_test"
+ "loader"))))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/bytedance/sonic"))
+ (native-inputs
+ (list go-github-com-davecgh-go-spew
+ go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-bytedance-sonic-loader
+ go-github-com-cloudwego-base64x
+ go-github-com-klauspost-cpuid-v2
+ go-github-com-twitchyliquid64-golang-asm
+ go-golang-org-x-arch))
+ (home-page "https://github.com/bytedance/sonic")
+ (synopsis "JSON serializing and deserializing library")
+ (description
+ "This package implements a functionality to serialize/deserialize JSON by
+using JIT and SIMD approaches.")
+ ;; There some other licenses in "licenses" but all of them look like ASL
+ ;; compatible.
+ (license license:asl2.0)))
+
(define-public go-github-com-bytedance-sonic-loader
(package
(name "go-github-com-bytedance-sonic-loader")
- 323/401: gnu: go-github-com-jbenet-go-context: Enable tests., (continued)
- 323/401: gnu: go-github-com-jbenet-go-context: Enable tests., guix-commits, 2024/12/26
- 353/401: gnu: packages/time: Remove golang module., guix-commits, 2024/12/26
- 361/401: gnu: go-gopkg-in-yaml-v3: Move to golang-xyz., guix-commits, 2024/12/26
- 359/401: gnu: go-github-com-warpfork-go-wish: Fix tests., guix-commits, 2024/12/26
- 351/401: gnu: go-github-com-charmbracelet-bubbletea: Move to golang-xyz., guix-commits, 2024/12/26
- 349/401: gnu: go-github-com-gizak-termui-v3: Move to golang-xyz., guix-commits, 2024/12/26
- 384/401: gnu: Add go-github-com-gofiber-fiber-v2., guix-commits, 2024/12/26
- 385/401: gnu: Add go-github-com-gobwas-pool., guix-commits, 2024/12/26
- 372/401: gnu: Add go-jose-util., guix-commits, 2024/12/26
- 376/401: gnu: Add go-github-com-knz-go-libedit., guix-commits, 2024/12/26
- 381/401: gnu: Add go-github-com-bytedance-sonic.,
guix-commits <=
- 386/401: gnu: Add go-github-com-gobwas-httphead., guix-commits, 2024/12/26
- 73/401: gnu: Add go-github-com-buildkite-shellwords., guix-commits, 2024/12/26
- 135/401: gnu: Add go-github-com-cockroachdb-apd., guix-commits, 2024/12/26
- 392/401: gnu: Add go-fxlint., guix-commits, 2024/12/26
- 148/401: gnu: Add go-github-com-viant-toolbox., guix-commits, 2024/12/26
- 175/401: gnu: Add go-gitlab-com-yawning-obfs4-git., guix-commits, 2024/12/26
- 173/401: gnu: go-github-com-dsnet-golib: Adjust inputs., guix-commits, 2024/12/26
- 198/401: gnu: Add go-github-com-google-gnostic-models., guix-commits, 2024/12/26
- 180/401: gnu: Add go-github-com-burntsushi-graphics-go., guix-commits, 2024/12/26
- 172/401: gnu: go-github-com-dsnet-compress: Fix tests., guix-commits, 2024/12/26