From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#37817] [PATCH v2 3/9] gnu: Add yason. Resent-Message-ID: From: Guillaume Le Vaillant Date: Mon, 21 Oct 2019 14:02:57 +0200 Message-Id: <20191021120303.18735-3-glv@posteo.net> In-Reply-To: <20191021120303.18735-1-glv@posteo.net> References: <8736fmbdz5.fsf@ambrevar.xyz> <20191021120303.18735-1-glv@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37817@debbugs.gnu.org Cc: Guillaume Le Vaillant * 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)) -- 2.23.0