From patchwork Mon Oct 21 12:02:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Le Vaillant X-Patchwork-Id: 15790 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 8C6FD17282; Mon, 21 Oct 2019 13:05:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4DC2517271 for ; Mon, 21 Oct 2019 13:05:21 +0100 (BST) Received: from localhost ([::1]:39644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMWR6-0000fE-NC for patchwork@mira.cbaines.net; Mon, 21 Oct 2019 08:05:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54776) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMWQt-0000ds-FX for guix-patches@gnu.org; Mon, 21 Oct 2019 08:05:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMWQr-0001Vx-AW for guix-patches@gnu.org; Mon, 21 Oct 2019 08:05:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47043) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMWQr-0001Vp-7L for guix-patches@gnu.org; Mon, 21 Oct 2019 08:05:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iMWQo-0001e0-Ri for guix-patches@gnu.org; Mon, 21 Oct 2019 08:05:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37817] [PATCH v2 3/9] gnu: Add yason. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Oct 2019 12:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37817 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37817@debbugs.gnu.org Cc: Guillaume Le Vaillant Received: via spool by 37817-submit@debbugs.gnu.org id=B37817.15716594716201 (code B ref 37817); Mon, 21 Oct 2019 12:05:02 +0000 Received: (at 37817) by debbugs.gnu.org; 21 Oct 2019 12:04:31 +0000 Received: from localhost ([127.0.0.1]:55848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMWQI-0001bw-O7 for submit@debbugs.gnu.org; Mon, 21 Oct 2019 08:04:30 -0400 Received: from mout02.posteo.de ([185.67.36.66]:46063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMWQG-0001b2-F3 for 37817@debbugs.gnu.org; Mon, 21 Oct 2019 08:04:28 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id C0F8F2400E5 for <37817@debbugs.gnu.org>; Mon, 21 Oct 2019 14:04:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1571659462; bh=i7KLPso+oF5HPlShEokQzeLNCD5StqSyVyMUzzNBPqo=; h=From:To:Cc:Subject:Date:From; b=EmfES+d66kdn6YOzWlUMuJrZ1RVOvmzFop+p6WWDyr0UxXh5sf64NXsCsp8Efo41r +6M38uEvED+dM1zRb83wFfYx3arGpuJH1KsgVi2qOxfwY3zhz4lfX4uzMohmJvxd+T 9jluH9bNfWSGgb8paI/kW8A+mlxfO7ffaxqXw3FPjTa4O/2NyV0GpaO+cl+H1yiS6h hI/82BtwJI/SDf7F7td2v86CM7v+YCO4+F8StVcMQRUADmWDDDzIKP3tFRb94tH1qP 4GltpYCv0ZZ/Nky8H/W+90aQz416U0ChRcZ9Hk2x2KCFZx5y7THuNXlcFy28klRUKl LTND+52fZR/GA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46xb096f40z9rxS; Mon, 21 Oct 2019 14:04:09 +0200 (CEST) From: Guillaume Le Vaillant Date: Mon, 21 Oct 2019 14:02:57 +0200 Message-Id: <20191021120303.18735-3-glv@posteo.net> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191021120303.18735-1-glv@posteo.net> References: <8736fmbdz5.fsf@ambrevar.xyz> <20191021120303.18735-1-glv@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp.scm (cl-yason, sbcl-yason, ecl-yason): New variables. --- gnu/packages/lisp.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 5e4f9484ee..be0b876df8 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -7930,3 +7930,34 @@ of function partial application and composition.") (define-public ecl-curry-compose-reader-macros (sbcl-package->ecl-package sbcl-curry-compose-reader-macros)) + +(define-public sbcl-yason + (package + (name "sbcl-yason") + (version "0.7.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/phmarek/yason.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0479rbjgbj80jpk5bby18inlv1kfp771a82rlcq5psrz65qqa9bj")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("alexandria" ,sbcl-alexandria) + ("trivial-gray-streams" ,sbcl-trivial-gray-streams))) + (synopsis "Common Lisp JSON parser/encoder") + (description + "YASON is a Common Lisp library for encoding and decoding data in the +JSON interchange format.") + (home-page "https://github.com/phmarek/yason") + (license license:bsd-3))) + +(define-public cl-yason + (sbcl-package->cl-source-package sbcl-yason)) + +(define-public ecl-yason + (sbcl-package->ecl-package sbcl-yason))