From patchwork Tue Mar 19 21:41:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 61998 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7454827BBEA; Tue, 19 Mar 2024 21:43:52 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8391D27BBE2 for ; Tue, 19 Mar 2024 21:43:48 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmhFC-0004iO-Sj; Tue, 19 Mar 2024 17:43:38 -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 1rmhF1-0004dM-Tc for guix-patches@gnu.org; Tue, 19 Mar 2024 17:43:28 -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 1rmhF1-0004V0-Ko for guix-patches@gnu.org; Tue, 19 Mar 2024 17:43:27 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmhFc-0002Ki-0c; Tue, 19 Mar 2024 17:44:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69904] [PATCH 05/10] gnu: Add cl-st-json. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 21:44:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69904 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69904@debbugs.gnu.org Cc: Sharlatan Hellseher , Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 69904-submit@debbugs.gnu.org id=B69904.17108846138753 (code B ref 69904); Tue, 19 Mar 2024 21:44:03 +0000 Received: (at 69904) by debbugs.gnu.org; 19 Mar 2024 21:43:33 +0000 Received: from localhost ([127.0.0.1]:36107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmhF7-0002H0-6y for submit@debbugs.gnu.org; Tue, 19 Mar 2024 17:43:33 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:55770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmhF1-0002FJ-UH for 69904@debbugs.gnu.org; Tue, 19 Mar 2024 17:43:28 -0400 Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-33eee0258abso1750134f8f.3 for <69904@debbugs.gnu.org>; Tue, 19 Mar 2024 14:42:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710884503; x=1711489303; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0C0vmHLMxjfgm3SMXi5Z4saN6g4afm4oIQJDxR25HOo=; b=cC58eRG56FtZEYnkZcWR4pXowUFjS98MD1rlzTNjzGHwFYob7m6ks0HQ1NaNFvJoH4 4dt6BDkLi72lOWdaf6pev8JWlno+W/YXxWD4pntunOFrm2NK/H3tk12aAHmOivg3vj/Q xSTTGm9uxDT5g48UV6zJJ9XTi91bQ/adTbP3dpxRcmAIcPLgavaTLW9+fFQH7DLvnCmD pvZEpBillj39CwhUIoKp1cIqSx1GTmhAdIZHKdouqL6sGvW9WYoH+KKMvTOlLTdo5SqC wXWtTvoPS9IvnHgwP66EIfSS8aOEVWWQwCfwdE7OtULwtCvK/eAcj0wlk1YreuwMMngH 2TJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710884503; x=1711489303; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0C0vmHLMxjfgm3SMXi5Z4saN6g4afm4oIQJDxR25HOo=; b=KBAVKJpEa3KEiDMj7thldH92VUrDFvmuIam2dO9n+M5OEy58QCAcglZBLwgokWAJ2b FoNmZgBte9mJUzkgrBEkchmFGF917Cgefk+ctrhasCUE85gyEWqmq0AJoVmuF0oBTR75 eXkn//tPB9qO65tGelqZK5KVIr/ekgAyvqVqoaX8PlX88Krufxg1Tj9hA2AwqpHtfio9 EbNTGoY7Rx3KsfgtyxBqWsembTVxz6AbfTNlB6magT+TeG00XFdSlXcaHDpUcGYYkIcG J7TXyHqt/0cpWcJ+DiM5QiHtBuRL6IZambL19P9ibP9DNbB/hvsxNZxGcx7JamFMRDq2 qI4Q== X-Gm-Message-State: AOJu0YyEKw6dIiull1FlIOA0n3okTGsofJZPp87XKnwq9XxdlSaaB4mF kFhuHck96QQ/GG8Z4GIsf3BlCzuvN1yC+4ykawzWoMegBLp6cRH0fGMxhcZi/dw= X-Google-Smtp-Source: AGHT+IHJYaMkZZX44X5OG1ZxJgRPdUJPNzBUOIzkjdIRtXc4M423K33jfGHp/mPpH0YSgRSOyxMuSQ== X-Received: by 2002:a05:6000:4023:b0:33e:c601:fcfd with SMTP id cp35-20020a056000402300b0033ec601fcfdmr272806wrb.43.1710884503205; Tue, 19 Mar 2024 14:41:43 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id k4-20020adfe3c4000000b0033e48db23bdsm13232957wrm.100.2024.03.19.14.41.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 14:41:42 -0700 (PDT) From: Sharlatan Hellseher Date: Tue, 19 Mar 2024 21:41:31 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp-xyz.scm (cl-st-json, ecl-st-json, sbcl-st-json): New variables. Change-Id: Ib349cfb6fb7da17741f331215e9a4d46bc4866c0 --- gnu/packages/lisp-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 1378fe7353..9f25066e1c 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -251,6 +251,39 @@ (define-public ecl-reader ;; TODO: Tests fail on call to coreutils echo for ecl. `(#:tests? #f)))) +(define-public sbcl-st-json + (let ((commit "4a0025bcc5b6921454822f1b9f38f697b4eeaf43") + (revision "0")) + (package + (name "sbcl-st-json") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/marijnh/ST-JSON") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "06qrhr5iw73k96lai2x9w52l6gnmlxy7fsr0r35gz6nz1f71x7gx")))) + (build-system asdf-build-system/sbcl) + (home-page "https://marijnhaverbeke.nl/st-json/") + (synopsis "JSON for Common Lisp") + (description + "ST-JSON (@code{ST} because it originated at Streamtech) is a Common Lisp + library for encoding and decoding JSON values (as specified on json.org). + +This library does mostly the same thing as CL-JSON, but is simpler and more +precise about types (distinguishing boolean false, the empty array, and the +empty object).") + (license license:zlib)))) + +(define-public cl-st-json + (sbcl-package->cl-source-package sbcl-st-json)) + +(define-public ecl-st-json + (sbcl-package->ecl-package sbcl-st-json)) + (define-public sbcl-stdutils (let ((commit "4a4e5a4036b815318282da5dee2a22825369137b") (revision "0"))