From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KHWLLHpKz1+ySgAA0tVLHw (envelope-from ) for ; Tue, 08 Dec 2020 09:42:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SD5RKHpKz1+aEQAAbx9fmQ (envelope-from ) for ; Tue, 08 Dec 2020 09:42:18 +0000 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 7A49D940355 for ; Tue, 8 Dec 2020 09:42:18 +0000 (UTC) Received: from localhost ([::1]:55422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmZVh-0003Ad-E9 for larch@yhetil.org; Tue, 08 Dec 2020 04:42:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmZVS-0003AN-EW for guix-patches@gnu.org; Tue, 08 Dec 2020 04:42:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45051) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmZVS-0006Hf-2i for guix-patches@gnu.org; Tue, 08 Dec 2020 04:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmZVS-0008C6-0n for guix-patches@gnu.org; Tue, 08 Dec 2020 04:42:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44978] [PATCH] gnu: Add cjson. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Dec 2020 09:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44978 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ryan Prior Cc: 44978@debbugs.gnu.org Received: via spool by 44978-submit@debbugs.gnu.org id=B44978.160742049831469 (code B ref 44978); Tue, 08 Dec 2020 09:42:01 +0000 Received: (at 44978) by debbugs.gnu.org; 8 Dec 2020 09:41:38 +0000 Received: from localhost ([127.0.0.1]:56597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmZV4-0008BU-4m for submit@debbugs.gnu.org; Tue, 08 Dec 2020 04:41:38 -0500 Received: from mira.cbaines.net ([212.71.252.8]:48268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmZV2-0008BM-IA for 44978@debbugs.gnu.org; Tue, 08 Dec 2020 04:41:37 -0500 Received: from localhost (188.29.103.89.threembb.co.uk [188.29.103.89]) by mira.cbaines.net (Postfix) with ESMTPSA id 162B227BC01; Tue, 8 Dec 2020 09:41:36 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 509b1c83; Tue, 8 Dec 2020 09:41:33 +0000 (UTC) References: <20201201014454.18663-1-rprior@protonmail.com> <20201201041027.6129-1-rprior@protonmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines In-reply-to: <20201201041027.6129-1-rprior@protonmail.com> Date: Tue, 08 Dec 2020 09:41:33 +0000 Message-ID: <87lfe8iqia.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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7A49D940355 X-Spam-Score: -1.90 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: 7+eEQAXymqNC --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hey, I pushed this to master as ab58b2cc32068fc9e5f0a7c7ae112349943b7dfd. The only thing I changed here is I moved the package in to the javascript module, as that seemed more appropriate than the web module. Ryan Prior via Guix-patches via writes: > * gnu/packages/web.scm (cjson): New variable. > --- > gnu/packages/web.scm | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm > index f559d63f1b..21fc1ae964 100644 > --- a/gnu/packages/web.scm > +++ b/gnu/packages/web.scm > @@ -957,6 +957,26 @@ project) > @end itemize") > (license license:bsd-2))) >=20=20 > +(define-public cjson > + (package > + (name "cjson") > + (version "1.7.14") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/DaveGamble/cJSON") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "1rlnailhjm180zb6pc17jwphjwivw8kfpqgixjfgq4iyryq4= 6sah")))) > + (build-system cmake-build-system) > + (arguments > + `(#:configure-flags '("-DENABLE_CJSON_UTILS=3DOn"))) > + (home-page "https://github.com/DaveGamble/cJSON") > + (synopsis "JSON parser written in ANSI C") > + (description "This library provides a portable embeddable JSON parse= r.") > + (license license:expat))) > + > (define-public qjson > (package > (name "qjson") --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl/PSk1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xd19w/+IWihKICmv7cHAkjYdvFyfpzLj/P3vRef KgKisiItv6MRUG+oJQ7cFmWN2OeBI2xAo5L3HqMOBXnCZQz6YzYbD1iHrKGkGw9G TnjB3Hk8/NhRlNGf7RdgxITdiyI39bZvwcHl8sYgOyxG9tPpKOGqnZxY4uA8RlWT CyL/omEmLNnML2lwUBbHvYg+EGvJ2xBUiIVgimU722Vw5Ww4VosUKWDa4UbSQX5+ eiB6XqzVSCosqMgzaC2YX24qJclEEfnJpQOGd++zQyNGuv9pvm7JonJZa5Mf4Pqq DnLC1fY9vkX7m7vm5Ra6kbOSxaqg+hN5vk1rp/U16ONfJiHBNCUBdnXtg8q8Ddkr HXww1vDHeuKGwNiRgwaTdzaghEuA/IhSfT9/IAlTrp0/bTApABoeg9fbdEkKPhzk c66rv1Le7GQpEnTY0YFIdWl/K26ct6SfZfhhHpeqiB4GeRXU+pwrXBPfjSJ9wGnb 5lQJ6M6QSW1j3GHmu5aWM0bN+dqsgCrn4kQGBD7Cv+m402lt2xT3anKI7wzcBKqM Q/XAJ9IpKp1hgbHCJ2oBguU51cxHHoOnsAptpbV44zNITqlzvCFd4dKYYwyKlmpS vrOgbbGTKsZFZQBzNaXHwZeJUlxUlH945PLHY29dF9CPvqdUU2d0qdUbsipIBDHX K7IgpmGmNJQ= =FnK2 -----END PGP SIGNATURE----- --=-=-=--