From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0LLAOa7hymYsZgAAe85BDQ:P1 (envelope-from ) for ; Sun, 25 Aug 2024 07:47:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 0LLAOa7hymYsZgAAe85BDQ (envelope-from ) for ; Sun, 25 Aug 2024 09:47:59 +0200 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=TymKHR2j; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=dJkBraSt; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724572078; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=RCM9Krfg2Hw1fRv5tuTR+a4cmu/SfPrmo5pwIhSgY7U=; b=czs0i18FLbd8OEHi+rhX+SxshZ+VipmbfV4GfrrxcSYzjELLQeuWf6PwkpV48hK2Iyzk7M J7i9B9m5bdF8ut2Iqo+5bYkRZmvBfBaXuXibUK4QtcMdsHiDvsV5xWss7R07rvNLMoVl7+ quXbbVzoZAdF847rGQ45NpajuCbIgj88cG8Q5NRPiYdBfCu/yxk/J8avQgIFQ1DRiZwIaw JZLQBh5QWWIi1w15n5d1LZ0HxlRbCk+1+qErWBrKqww6AgDTXLjVIktnmzgyExuJ6518OV 15E9KwVm1ualXFvW1/KzzI7yQwdtLLxXwE2u8e0L6rlwLhYdhPMdkHTLZ4boRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724572078; a=rsa-sha256; cv=none; b=N3b4KReyAkMDA3wuu8i6kPun5/RQI7ydO14Fe3RcXQEzVTgekpdGVngp7kPYmbgK3Xdh1j 3p6D7xhZNNq6NAcUcjqwa+ylf3/EEeFbaoq9lmuM4Vqo1erwHzE8lRw93s4KAYAxQrsW7U uLfzfPxMpG3p6wG6efwfGgBxzdPANWCk92uhRr2PEF3waxnNqXQdiHivNdOkHr2yxs+vRr XDZ3ZEHlHGOnhGK1hXtvS1s0L/1lMhzQtAIlSKDFygbwbQel23UZmLGYl3gUnquCBb1KHk fuCaTwikfuXxcPpngXfHrf/3GEB7jYGo+4X0S+Nk2mElSIUQXcmNk6JBD8ovEw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TymKHR2j; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=dJkBraSt; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none); 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" 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 AA46A65F1B for ; Sun, 25 Aug 2024 09:47:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1si7y2-0005SG-B2; Sun, 25 Aug 2024 03:47:18 -0400 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 1si7xx-0005RS-6G for guix-patches@gnu.org; Sun, 25 Aug 2024 03:47:13 -0400 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 1si7xw-0008NF-Ts for guix-patches@gnu.org; Sun, 25 Aug 2024 03:47:12 -0400 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:From:To:In-Reply-To:References:Subject; bh=RCM9Krfg2Hw1fRv5tuTR+a4cmu/SfPrmo5pwIhSgY7U=; b=TymKHR2jFjMa5dtg3tcS4qs5nz85t7pfWrYz50JMuvLdGubEh8Eb+8BA9aD1ITjy7luqHG08rutP6aBxLYQ+2WfgRY5xmAQ+2TXPLxRYGSHxcTO1ACD8zZOkJsuZ0vxRzkBsT7FiVlSjTVHQapmj6Bk/SXWAonHy9vFLP1Ssi94K9bIvGv+byU2wyuQ9T1XIdaY8tKgqqWa6GpZX7YRbQsNwJXLSWQKZsO4tSqMK8Ct80+Fhk6zVwdTHGdT/DUrxNw1PpdwjsmgKcn5e7pbMS+9s4O82ggauVupiG11x7XbIIEVA7NAzax7a2FiQZJHcZvnWR3hdbIWa909p+ko1sg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1si7yk-00058g-Fn for guix-patches@gnu.org; Sun, 25 Aug 2024 03:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v3 1/5] gnu: Add yyjson. References: In-Reply-To: Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Aug 2024 07:48:02 +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: 71968@debbugs.gnu.org Cc: Dariqq Received: via spool by 71968-submit@debbugs.gnu.org id=B71968.172457203919633 (code B ref 71968); Sun, 25 Aug 2024 07:48:02 +0000 Received: (at 71968) by debbugs.gnu.org; 25 Aug 2024 07:47:19 +0000 Received: from localhost ([127.0.0.1]:42223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1si7y3-00056b-GH for submit@debbugs.gnu.org; Sun, 25 Aug 2024 03:47:19 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1si7y1-00056G-6u for 71968@debbugs.gnu.org; Sun, 25 Aug 2024 03:47:18 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id EF3F6240101 for <71968@debbugs.gnu.org>; Sun, 25 Aug 2024 09:46:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1724571981; bh=HVAwWTySE0iD+9mJrRCxb2FyzouSCSNxo7QHZSG4mAQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=dJkBraStpXbq7eiOsZMLIjnZypVfNHaaKv/qMzQr7xGnXDpKkecexk0jVuAjcPwd8 JQcV8AeaITH5jAjXv2HOkyNrO47t4SyrfZbMd9zt65Jdp6pc5a15S0Di6/UJQGlfmz 1b2uA5DrMiJSrZc1XAQ6iDaUnTPKZjYs6eu8SkXVwKIS+msvDuyW/3MyqrjHz2LwH3 EiWOi0RDYJD8qddtE4VwmPb0jtmItiCCyCbbyfbUOchAoMdw36z2512M5HqYvESDDp 9AbiOwNKuJIHvOVmEAokboRnQgMfmE861quOFdyJZ4rC/EL82uotImvSvrvjYYuub+ 5vkYHBGWF3vQw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Ws5Tm2BYNz6tvb; Sun, 25 Aug 2024 09:46:20 +0200 (CEST) From: Dariqq Date: Sun, 25 Aug 2024 07:45:24 +0000 Message-ID: <7209dd72bc48dc788690a2ffacc30f938f7bd1a9.1724571928.git.dariqq@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: AA46A65F1B X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.11 X-Spam-Score: -9.11 X-TUID: 0RWlcYHGslWv * 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 87d3df193e..aa7b9fe35f 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1730,3 +1730,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.9.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 "169rqh7mh01g5j4qkqjgfmgnyqjf9r8qxiywf4jkgcb7ln4j64w9")))) + (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))) base-commit: f25ea6847fa4eb1bc0a6bfb965e145b94f20a6f8 -- 2.45.2