From patchwork Wed Mar 16 12:44:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reily Siegel X-Patchwork-Id: 37861 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 F355227BBEA; Wed, 16 Mar 2022 12:46:39 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, 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 B2B7A27BBE9 for ; Wed, 16 Mar 2022 12:46:39 +0000 (GMT) Received: from localhost ([::1]:53760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUT30-000076-Si for patchwork@mira.cbaines.net; Wed, 16 Mar 2022 08:46:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUT1X-0007Jw-Fl for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUT1W-0004hv-Tu for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nUT1W-0001lT-Od for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH v2 10/18] gnu: Add clojure-tools-reader. 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: Wed, 16 Mar 2022 12:45:06 +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 Cc: Maxime Devos Received: via spool by 53765-submit@debbugs.gnu.org id=B53765.16474346666597 (code B ref 53765); Wed, 16 Mar 2022 12:45:06 +0000 Received: (at 53765) by debbugs.gnu.org; 16 Mar 2022 12:44:26 +0000 Received: from localhost ([127.0.0.1]:50563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUT0s-0001iG-H6 for submit@debbugs.gnu.org; Wed, 16 Mar 2022 08:44:26 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:35290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUT0p-0001hJ-Ty for 53765@debbugs.gnu.org; Wed, 16 Mar 2022 08:44:24 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [80.241.60.233]) (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 4KJVMk0y2Tz9sdK; Wed, 16 Mar 2022 13:44:18 +0100 (CET) From: Reily Siegel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1647434657; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=wZ0fClrS65dzIWpEl0lVfij0b+OY7lh9PwMyaTcV7/s=; b=koCEACSNo9lTKS94uC6vRUnSwsY/+jy5aPVcXD3h7KdoB/K3eHGr490W6IA37tXpfR/vfW qAfRANaBOFdeWbtYNi2yPUuxoN0OcAia0omrSPM6i8YvXxI5cqp9YdXNiLSqFH2lDJ8+mU Q8lRcbiEPcW3iJP5Y7j+uczw0fpuxzvqgpYKZt12L+BTbvsXX00jpRe1ms7lCweWpC7M9t Xx2kLvePC8TpCpnXIMdQB9PdtjsvcXBmD+mhqGLRfiTAX54NdTtSde8U/Ap9WBk3MnYdRi 4JbDqiVEiz4cQpRoNAl77ex0lx/wL+8MNoQZb5qtEROUKdMB87wOY1ZUPZ6liQ== Date: Wed, 16 Mar 2022 13:44:04 +0100 Message-ID: <87zglqcbjf.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-tools-reader): New variable. --- gnu/packages/clojure.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 5b15d50114..b33cc963ef 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -815,3 +815,30 @@ (define-public clojure-tools-gitlibs indicated by git SHAs. This library provides this functionality and also keeps a cache of git directories and working trees that can be reused.") (license license:epl1.0))) + +(define-public clojure-tools-reader + (package + (name "clojure-tools-reader") + (version "1.3.6") + (home-page "https://github.com/clojure/tools.reader") + (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 + "0rcqq024ysz5g2ad8g6jvhnlpwqym58hd1mywl8c4v3x5628d028")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '() + ;; Tests are not well formed clojure namespaces. + #:tests? #f)) + (synopsis "Clojure reader in Clojure") + (description "A reader for Clojure source code and data structures written +in Clojure. Offers all functionality of Clojure's default reader, +LispReader.java, with additional features added.") + (license license:epl1.0)))