unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Dariqq <dariqq@posteo.net>
To: 71968@debbugs.gnu.org
Cc: Dariqq <dariqq@posteo.net>
Subject: [bug#71968] [PATCH v7 1/3] gnu: Add yyjson.
Date: Wed, 20 Nov 2024 08:32:14 +0000	[thread overview]
Message-ID: <bab6c7f3b28ff98876107c78152e06e939156eb8.1732090301.git.dariqq@posteo.net> (raw)
In-Reply-To: <cover.1732090301.git.dariqq@posteo.net>

* gnu/packages/c.scm (yyjson): New variable.

Change-Id: Ica9ff2e1b6676aa8761eb33cbab76154f17e443f
---
 gnu/packages/c.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 13fdb99424..2e368ad884 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -1764,3 +1764,41 @@ (define-public pcg-c
 Linear Congruential Generator (LCG) with a permutation function to increase
 output randomness while retaining speed, simplicity, and conciseness.")
       (license (list license:expat license:asl2.0))))) ; dual licensed
+
+(define-public yyjson
+  (package
+    (name "yyjson")
+    (version "0.10.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ibireme/yyjson")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0kmzgs24v0rxlibg4qwlm6yplzs96pgxb1gyviijhkra9z7lx7ws"))))
+    (arguments
+     (list
+      #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"
+                                "-DYYJSON_BUILD_TESTS=ON")))
+    (build-system cmake-build-system)
+    (home-page "https://github.com/ibireme/yyjson")
+    (synopsis "High performance JSON library written in ANSI C")
+    (description
+     "Yyjson is a high performance JSON library written in ANSI C.  Some features include
+@itemize
+@item Fast: can read or write gigabytes per second JSON data on modern CPUs.
+@item Portable: complies with ANSI C (C89) for cross-platform compatibility.
+@item Strict: complies with RFC 8259 JSON standard, ensuring strict
+number format and UTF-8 validation.
+@item Extendable: offers options to allow comments, trailing commas, NaN/Inf,
+ and custom memory allocator.
+@item Accuracy: can accurately read and write int64, uint64, and double numbers.
+@item Flexible: supports unlimited JSON nesting levels, \u0000 characters,
+and non null-terminated strings.
+@item Manipulation: supports querying and modifying using JSON Pointer,
+JSON Patch and JSON Merge Patch.
+@item Developer-Friendly: easy integration with only one .h and one .c file.
+@end itemize")
+    (license license:expat)))
-- 
2.46.0





  reply	other threads:[~2024-11-20  8:34 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-06  7:03 [bug#71968] [PATCH 0/4] fastfetch: Unbundle yyjson and package improvements Dariqq
2024-07-06  7:29 ` [bug#71968] [PATCH 1/4] gnu: Add yyjson Dariqq
2024-07-06  7:29 ` [bug#71968] [PATCH 2/4] gnu: fastfetch: Unbundle yyjson Dariqq
2024-07-06  7:29 ` [bug#71968] [PATCH 3/4] gnu: fastfetch: Add more configure flags Dariqq
2024-07-06  7:29 ` [bug#71968] [PATCH 4/4] gnu: fastfetch: Update to 2.17.2 Dariqq
2024-07-14  7:42 ` [bug#71968] [PATCH v2 0/5] fastfetch: Unbundle yyjson and package improvements Dariqq
2024-07-14  7:42   ` [bug#71968] [PATCH v2 1/5] gnu: Add yyjson Dariqq
2024-07-14  7:42   ` [bug#71968] [PATCH v2 2/5] gnu: fastfetch: Unbundle yyjson Dariqq
2024-07-14  7:42   ` [bug#71968] [PATCH v2 3/5] gnu: fastfetch: Add more configure flags Dariqq
2024-07-14  7:42   ` [bug#71968] [PATCH v2 4/5] gnu: yyjson: Update to 0.10.0 Dariqq
2024-07-14  7:42   ` [bug#71968] [PATCH v2 5/5] gnu: fastfetch: Update to 2.18.1 Dariqq
2024-08-25  7:45 ` [bug#71968] [PATCH v3 1/5] gnu: Add yyjson Dariqq
2024-08-25  7:45   ` [bug#71968] [PATCH v3 2/5] gnu: fastfetch: Unbundle yyjson Dariqq
2024-08-25  7:45   ` [bug#71968] [PATCH v3 3/5] gnu: fastfetch: Add more configure flags Dariqq
2024-08-25  7:45   ` [bug#71968] [PATCH v3 4/5] gnu: yyjson: Update to 0.10.0 Dariqq
2024-08-25  7:45   ` [bug#71968] [PATCH v3 5/5] gnu: fastfetch: Update to 2.21.3 Dariqq
2024-08-27 15:18 ` [bug#71968] [PATCH v4 1/5] gnu: Add yyjson Dariqq
2024-08-27 15:18   ` [bug#71968] [PATCH v4 2/5] gnu: fastfetch: Unbundle yyjson Dariqq
2024-08-27 15:18   ` [bug#71968] [PATCH v4 3/5] gnu: fastfetch: Add more configure flags Dariqq
2024-08-27 15:18   ` [bug#71968] [PATCH v4 4/5] gnu: yyjson: Update to 0.10.0 Dariqq
2024-08-27 15:18   ` [bug#71968] [PATCH v4 5/5] gnu: fastfetch: Update to 2.22.0 Dariqq
2024-09-18 15:27 ` [bug#71968] [PATCH v5 1/5] gnu: Add yyjson Dariqq
2024-09-18 15:27   ` [bug#71968] [PATCH v5 2/5] gnu: fastfetch: Unbundle yyjson Dariqq
2024-09-18 15:27   ` [bug#71968] [PATCH v5 3/5] gnu: fastfetch: Add more configure flags Dariqq
2024-09-18 15:27   ` [bug#71968] [PATCH v5 4/5] gnu: yyjson: Update to 0.10.0 Dariqq
2024-09-18 15:27   ` [bug#71968] [PATCH v5 5/5] gnu: fastfetch: Update to 2.24.0 Dariqq
2024-10-19  7:56 ` [bug#71968] [PATCH v6 1/5] gnu: Add yyjson Dariqq
2024-10-19  7:56   ` [bug#71968] [PATCH v6 2/5] gnu: fastfetch: Unbundle yyjson Dariqq
2024-10-19  7:56   ` [bug#71968] [PATCH v6 3/5] gnu: fastfetch: Add more configure flags Dariqq
2024-10-19  7:56   ` [bug#71968] [PATCH v6 4/5] gnu: yyjson: Update to 0.10.0 Dariqq
2024-10-19  7:56   ` [bug#71968] [PATCH v6 5/5] gnu: fastfetch: Update to 2.27.1 Dariqq
2024-11-20  8:32 ` [bug#71968] [PATCH v7 0/3] fastfetch: Unbundle yyjson, update and package improvements Dariqq
2024-11-20  8:32   ` Dariqq [this message]
2024-11-20  8:32   ` [bug#71968] [PATCH v7 2/3] gnu: fastfetch: Update to 2.30.1 Dariqq
2024-11-20  8:32   ` [bug#71968] [PATCH v7 3/3] gnu: fastfetch: Add more configure flags Dariqq

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bab6c7f3b28ff98876107c78152e06e939156eb8.1732090301.git.dariqq@posteo.net \
    --to=dariqq@posteo.net \
    --cc=71968@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).