From patchwork Fri Feb 4 00:24:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reily Siegel X-Patchwork-Id: 36967 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 726E627BBEA; Fri, 4 Feb 2022 00:25:43 +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_INVALID, DKIM_SIGNED,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 3AA8927BBE9 for ; Fri, 4 Feb 2022 00:25:43 +0000 (GMT) Received: from localhost ([::1]:47192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFmQ2-0000ks-Dx for patchwork@mira.cbaines.net; Thu, 03 Feb 2022 19:25:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFmPO-0000Ut-Gy for guix-patches@gnu.org; Thu, 03 Feb 2022 19:25:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFmPO-0001if-7k for guix-patches@gnu.org; Thu, 03 Feb 2022 19:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFmPO-0008WM-3I for guix-patches@gnu.org; Thu, 03 Feb 2022 19:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH 02/17] gnu: Add clojure-data-json. References: <87y22r32hi.fsf@reilysiegel.com> In-Reply-To: <87y22r32hi.fsf@reilysiegel.com> Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Feb 2022 00:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53765@debbugs.gnu.org Received: via spool by 53765-submit@debbugs.gnu.org id=B53765.164393427332667 (code B ref 53765); Fri, 04 Feb 2022 00:25:02 +0000 Received: (at 53765) by debbugs.gnu.org; 4 Feb 2022 00:24:33 +0000 Received: from localhost ([127.0.0.1]:58289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFmOv-0008Up-Co for submit@debbugs.gnu.org; Thu, 03 Feb 2022 19:24:33 -0500 Received: from mout-p-103.mailbox.org ([80.241.56.161]:44082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFmOs-0008UY-3P for 53765@debbugs.gnu.org; Thu, 03 Feb 2022 19:24:31 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4JqbrS0J0jz9sSc for <53765@debbugs.gnu.org>; Fri, 4 Feb 2022 01:24:24 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1643934261; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Wz82FPZCPFX6oNfEp8ttUZpFGWUsEG8r6FQxRzubbtM=; b=LopKjsfv/uZQvMupzV+QFJZAX6tXHJnkGgJSTZx3I57dYUQ703vG8M5h6+MmHwms5ylnfN cSwoh9v4/HangMrZcLRhOIcyGOU0tLBdT9ExHF8PgyeHdZ0ZB0QA/UR20rVl4Kk/ZRqM2V NBbD+Qxy3n1dY0CRq37rOWs7qLIpWABJGZ99ejctVam98tQQOM2oJMi3hDxXm1LlxzkInH SYFJ/jRGVx7Yayba4UEiPpNEufjDdF19dqgJTC+Y8lzxuhhfwe26+ktErgv/JB7Sboj5zo a6VAhPObpr/Q2a1L77Gepp78o7fFTofttOcosah6p3OhPfLOBkiXtzZHSY0wig== From: Reily Siegel Date: Thu, 03 Feb 2022 19:24:18 -0500 Message-ID: <87v8xv32dp.fsf@reilysiegel.com> 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/clojure.scm (clojure-data-json): New variable. --- gnu/packages/clojure.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 3cf287140d..c4524c2abb 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -315,6 +315,34 @@ (define-public clojure-data-codec is on par with Java implementations, e.g., Apache commons-codec.") (license license:epl1.0))) +(define-public clojure-data-json + (package + (name "clojure-data-json") + (version "2.4.0") + (home-page "https://github.com/clojure/data.json") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1xx3hiy62rrph4y4g3aqa1lfb0ns3p6vdvcvlpgm5w1npl70n2r5")))) + (build-system clojure-build-system) + (native-inputs (list clojure-test-check)) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '() + ;; ClassCastException, ConcurrentExecutionException + #:test-exclude '(clojure.data.json-compat-0-1-test + clojure.data.json-gen-test + clojure.data.json-test))) + (synopsis "JSON parser/generator to/from Clojure data structures") + (description "JSON parser/generator to/from Clojure data structures.") + (license license:epl1.0))) + (define-public clojure-data-priority-map (package (name "clojure-data-priority-map")