mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 00:52:55 -05:00
gnu: Add simdjson.
* gnu/packages/cpp.scm (simdjson): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
e2a021a745
commit
37c88eca5c
1 changed files with 26 additions and 0 deletions
|
@ -1309,3 +1309,29 @@ (define-public jsonnet
|
||||||
(description "Jsonnet is a templating language extending JSON
|
(description "Jsonnet is a templating language extending JSON
|
||||||
syntax with variables, conditions, functions and more.")
|
syntax with variables, conditions, functions and more.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public simdjson
|
||||||
|
(package
|
||||||
|
(name "simdjson")
|
||||||
|
(version "1.0.0")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/simdjson/simdjson")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"08qpsw0i8481xlyyghzyszb1vh4c8i7krzzghvr9m4yg394vf6zn"))))
|
||||||
|
(build-system cmake-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:tests? #f ; tests require downloading dependencies
|
||||||
|
#:configure-flags
|
||||||
|
'("-DBUILD_SHARED_LIBS=ON")))
|
||||||
|
(synopsis "JSON parser for C++ using SIMD instructions")
|
||||||
|
(description
|
||||||
|
"The simdjson library uses commonly available SIMD instructions and
|
||||||
|
microparallel algorithms to implement a strict JSON parser with UTF-8
|
||||||
|
validation.")
|
||||||
|
(home-page "https://github.com/simdjson/simdjson")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
Loading…
Reference in a new issue