From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kHtVDRgzcWdcEQAAqHPOHw:P1 (envelope-from ) for ; Sun, 29 Dec 2024 11:31:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kHtVDRgzcWdcEQAAqHPOHw (envelope-from ) for ; Sun, 29 Dec 2024 12:31:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=njWOMOBR; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735471895; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=BAQgCMUO79qIud2+b+GinBDPTeePaKd1n4BHqxiZYIY=; b=IPig2ZKmQ5saKBpSU26SDTmlD6wT0SR3P9lPKrnz21FVDmxGBg0heibsbjaZUWdDl3DNm6 yYObJAaVLT3WthhsNgG/bgHojgDJpZcdSJQkQWpPbr6r0qGwi2Bee1nR+l6juv88WUhECa Ffkb7wPGWkZkMGIvOVcmLNbLdcf7P98xLcpCZiGfOyLosfdthiQHaMj316aWH0fIrrDQUl orMgg4xGvbT11mO9vpElK+79IXs42UFhqQ/reWwne6pIXmaqTK3LOLUPCJQs6GXfUR6ZMu n6sHQDv1sUeaa8l4PDPqIoKmnMU8i3kZHig0sZGbkzeYRV5P13C1mBYgxVBp3Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=njWOMOBR; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735471895; a=rsa-sha256; cv=none; b=roOoABO7GA29TkkxBHq4Q8JdILkGgWKp/rosqoSj20dDfp90CxtXIFghW/VZ3B1ulfAY7A Z51R931KsVhSkcGO7iZDcVjIoZ2OllLcJnl37imRqLhOIbGkXfQZyUEkAzj6Z82gL0h109 LwNuT6VXhJTYBYd0x79inKcafWqc51dykFj9wZPuvwOw68GCFxhKUu778N9ogS9YI95/Wj Ip+7C8yfkSbmZi6CceuOZnxGdXWf7zu/N224rdo4bRkjrswgQJAX/5i5vROGzs+IYOhUp7 /DK8qdRQqmVmi35AO+L63zYtOkXtB3FlDcuTGkOABVKYhlbepXq1I5Utk7FAHA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CA18391E4B for ; Sun, 29 Dec 2024 12:31:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRrVl-0001Wh-Hl; Sun, 29 Dec 2024 06:31:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRrVf-0001W9-Ov for guix-patches@gnu.org; Sun, 29 Dec 2024 06:31:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRrVd-0004rs-VC for guix-patches@gnu.org; Sun, 29 Dec 2024 06:31:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=BAQgCMUO79qIud2+b+GinBDPTeePaKd1n4BHqxiZYIY=; b=njWOMOBRdvPHifMucEAmBogxekY4+nAyXvP/xYzAd4hjMsXcOkLawTHm07XkL0QL+7eNYyD+lNSMUE6wYzAzd36YIqwHdGznLyrVEuEFUNeWBBp5cW1FZRAjBGilG7MdRRMcE6J60aAGQdC6psmL7B/GftPvtXUS+/cDYR8JddGXJKcVCmucMWi8YfD4jvf88yd7vkFbK/H6hsU5OuVWB52bCegcyfNC01iwiE6PB05eeJQuWMY1xzNUGCAY78mVIi0h7mQAgwq8Ewb7JXTXPo6VS4wDQSz2htY/ZgcWgO5E+s2jhM6/9FmBn4gN7yiwIhpDW6sX6x6Hx+2M4p37jw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tRrVd-0002ah-P6 for guix-patches@gnu.org; Sun, 29 Dec 2024 06:31:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v7 1/3] gnu: Add yyjson. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Dec 2024 11:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71968 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Dariqq Cc: 71968@debbugs.gnu.org Received: via spool by 71968-submit@debbugs.gnu.org id=B71968.17354718139815 (code B ref 71968); Sun, 29 Dec 2024 11:31:01 +0000 Received: (at 71968) by debbugs.gnu.org; 29 Dec 2024 11:30:13 +0000 Received: from localhost ([127.0.0.1]:53955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRrUq-0002Y6-H6 for submit@debbugs.gnu.org; Sun, 29 Dec 2024 06:30:13 -0500 Received: from mira.cbaines.net ([212.71.252.8]:44114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRrUn-0002Un-BP for 71968@debbugs.gnu.org; Sun, 29 Dec 2024 06:30:10 -0500 Received: from localhost (unknown [IPv6:2a02:6b67:e390:8b00::1ce5]) by mira.cbaines.net (Postfix) with ESMTPSA id 372A327BBE2; Sun, 29 Dec 2024 11:29:37 +0000 (GMT) Received: from fang (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 4995eac2; Sun, 29 Dec 2024 11:29:36 +0000 (UTC) From: Christopher Baines In-Reply-To: (dariqq@posteo.net's message of "Wed, 20 Nov 2024 08:32:14 +0000") References: Date: Sun, 29 Dec 2024 11:29:34 +0000 Message-ID: <87ed1qafs1.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -11.76 X-Spam-Score: -11.76 X-Migadu-Queue-Id: CA18391E4B X-Migadu-Scanner: mx10.migadu.com X-TUID: IUMciyb+b9s5 --=-=-= Content-Type: text/plain Dariqq writes: > * 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, Just one observation, here you've written a null character where I'm guessing you might want \\u0000 instead. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmdxMp5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XfEbw//dRAmT1aXvtPDQoJZwPWwEeIQfiLsI6t4 yU0ju7S5HkkBbQ95iz4CDLARlWMxJX+4Z2ifBTXKTouKG+nRJMOMb0WYFuVhFuTx bTH2/7j34m7VBqhRpi/hraf+EYa9aEv1mxq257T6lRtEqKnyfyS4BlJEOT/y39PA 9hbWYu8ozxFp3bdUBF0py3xbcgyMkng+MFUmHZiUAXGKSFI9soWJg5Hdp+Doq4ik MHyVjePOrFjOKxHm3bhqCfg+KZOpzo14XwZoWFmJp8ZgW65Md3IzXq1YK4y7Zc7W YGAsFE8O0QYLTuWez4bY+prmgtgwQEYvNKDH51rHBveGTgtydHKCCbadMFfz0605 tnaksjBHcQYOj17OXcWlcWmASBY9V1PFp3nCmjl3MF9pBPzmQUh/DloQ559CQ8fH FVMkDOuiix2/2Firz2kiyNBM5PuHNN79Aoe//B/s5sYV68zdt7LZrLOJkA28or04 O8XHaPTxxaFdzSxHdm8LHYEsZATf/FGLeeVYJ80F1xJ6QXVraBtPMoCBXi6S9YxG YrOrSSP4TIzq0NmflqkjTQ77zFyi/Yzjhgc5jjRE3ek6PqDEyClNRiQQP0mCpcb4 JM6GyzeMfjcahUhLHs6NLRzJ+JpbZBVhLa2e3Zlwhd4G3l5okVcj2TKvVJdCVu00 GTJgfkHciJo= =VUxy -----END PGP SIGNATURE----- --=-=-=--