[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65074] [PATCH v2 12/13] gnu: Add go-github-com-json-iterator-go
From: |
Fries |
Subject: |
[bug#65074] [PATCH v2 12/13] gnu: Add go-github-com-json-iterator-go |
Date: |
Sat, 05 Aug 2023 11:02:12 +0000 |
* gnu/packages/golang.scm (go-github-com-json-iterator-go): Add variable.
---
gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1eb0eae3ec..a5f3542c78 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4377,6 +4377,39 @@ (define-public go-github-com-goccy-go-json
"Fast JSON encoder/decoder compatible with encoding/json for Go.")
(license license:expat)))
+(define-public go-github-com-json-iterator-go
+ (package
+ (name "go-github-com-json-iterator-go")
+ (version "1.1.12")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/json-iterator/go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1c8f0hxm18wivx31bs615x3vxs2j3ba0v6vxchsjhldc8kl311bz"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/json-iterator/go"))
+ (propagated-inputs (list go-github-com-stretchr-testify
+ go-github-com-modern-go-reflect2
+ go-github-com-modern-go-concurrent
+ go-github-com-google-gofuzz
+ go-github-com-davecgh-go-spew))
+ (home-page "https://github.com/json-iterator/go")
+ (synopsis
+ "High-performance, 100% compatible drop-in replacement for encoding/json")
+ (description
+ "This package implements encoding and decoding of JSON as defined in
+@uref{https://rfc-editor.org/rfc/rfc4627.html,RFC 4627} and provides interfaces
+with identical syntax of standard lib encoding/json. Converting from
+encoding/json to jsoniter is no more than replacing the package with jsoniter
+and variable type declarations (if any). jsoniter interfaces gives 100%
+compatibility with code using standard lib.")
+ (license license:expat)))
+
(define-public go-github-com-getsentry-raven-go
(let ((commit "5c24d5110e0e198d9ae16f1f3465366085001d92")
(revision "0"))
--
2.41.0
- [bug#65074] [PATCH v2 04/13] gnu: Add go-github-com-ianlancetaylor-demangle, (continued)
- [bug#65074] [PATCH v2 04/13] gnu: Add go-github-com-ianlancetaylor-demangle, Fries, 2023/08/05
- [bug#65074] [PATCH v2 03/13] gnu: Add go-github-com-chyzer-readline, Fries, 2023/08/05
- [bug#65074] [PATCH v2 06/13] gnu: Add go-github-com-felixge-fgprof, Fries, 2023/08/05
- [bug#65074] [PATCH v2 05/13] gnu: Add go-github-com-google-pprof, Fries, 2023/08/05
- [bug#65074] [PATCH v2 09/13] gnu: Add go-github-com-dbaggerman-cuba, Fries, 2023/08/05
- [bug#65074] [PATCH v2 07/13] gnu: Add go-github-com-pkg-profile, Fries, 2023/08/05
- [bug#65074] [PATCH v2 08/13] gnu: Add go-github-com-karrick-godirwalk, Fries, 2023/08/05
- [bug#65074] [PATCH v2 11/13] gnu: Add go-github-com-modern-go-reflect2, Fries, 2023/08/05
- [bug#65074] [PATCH v2 13/13] gnu: Add scc, Fries, 2023/08/05
- [bug#65074] [PATCH v2 12/13] gnu: Add go-github-com-json-iterator-go,
Fries <=
- [bug#65074] [PATCH v2 10/13] gnu: Add go-github-com-modern-go-concurrent, Fries, 2023/08/05