summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-26 20:23:41 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:42:24 +0000
commit0d29827223dbacad4b9a6d8e5fe1969418ddc94b (patch)
tree8c8dc4e2674f2917ff3665071c15830c85a34384
parent80103bb04187557f400de10fd311a62fab2f0030 (diff)
gnu: Add go-github-com-bytedance-sonic-loader.
* gnu/packages/golang-xyz.scm (go-github-com-bytedance-sonic-loader): New variable. Change-Id: Ife1c5d1cfc74cb7fb2c4e0a8e08c6d69483c3dd2
-rw-r--r--gnu/packages/golang-xyz.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index fb59c34711..44206a80c8 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1699,6 +1699,36 @@ 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-loader
+ (package
+ (name "go-github-com-bytedance-sonic-loader")
+ (version "0.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bytedance/sonic")
+ (commit (go-version->git-ref version
+ #:subdir "loader"))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0fyjq3hr4cmai2r06ppzil314bcqz416gd1zpw7lfp9h7mcwxwa4"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/bytedance/sonic/loader"
+ #:unpack-path "github.com/bytedance/sonic"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-cloudwego-iasm))
+ (home-page "https://github.com/bytedance/sonic")
+ (synopsis "Function loader for Sonic Golang library")
+ (description
+ "This package provides functionality to load functions used in Sonic JSON
+library.")
+ (license license:asl2.0)))
+
(define-public go-github-com-caarlos0-env
(package
(name "go-github-com-caarlos0-env")