From patchwork Mon Aug 5 05:16:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 66742 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 17F3627BBEA; Mon, 5 Aug 2024 06:19:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 03EBF27BBE2 for ; Mon, 5 Aug 2024 06:19:06 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saq7S-000573-WB; Mon, 05 Aug 2024 01:18:55 -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 1saq7K-00055L-20 for guix-patches@gnu.org; Mon, 05 Aug 2024 01:18:47 -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 1saq7G-0000mH-KC for guix-patches@gnu.org; Mon, 05 Aug 2024 01:18:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=xjhk0KcJDKTMbd+R24zgVVE7FSkeEN3WUILEYWBxD/g=; b=t8W8Bl6MP9oWm2PFDKU5OXCRK4COAT/u+ZjVy9tsR0oZ17R0W0flXMScHMINRKS3TLRtWbM7z5C9FAff5OnVQGWIwdm4LGcEq2aQ+4zWP9FCfilPZgB8c/GuOINso3n01LgqckStgVbAL7CqK9FhHnoVW+dg3mxA1ujTRbO/d0xaS+HBmXywNT+NYfPEX96szP+//3TPlH6BHEFwYE3qMeR8bR0baTG/uUe11DrsSjHPsBZra33zJCCWP06+dF89oRbB7dQ/8eGwRGTqWJRnd7z9vDUUgXsjlAyXN53ouHG/436LLC3jlqbi/JEA6/k0nJU8fWVw4wWNen4b9koj3g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saq7c-0005U5-HB for guix-patches@gnu.org; Mon, 05 Aug 2024 01:19:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH 06/10] gnu: Add clojure-tools-reader. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Aug 2024 05:19:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72463@debbugs.gnu.org Cc: Roman Scherer , andrew@trop.in Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.172283512020908 (code B ref 72463); Mon, 05 Aug 2024 05:19:04 +0000 Received: (at 72463) by debbugs.gnu.org; 5 Aug 2024 05:18:40 +0000 Received: from localhost ([127.0.0.1]:57745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saq7E-0005R3-8u for submit@debbugs.gnu.org; Mon, 05 Aug 2024 01:18:40 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:60544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saq7B-0005Pa-KU for 72463@debbugs.gnu.org; Mon, 05 Aug 2024 01:18:38 -0400 Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4266dc7591fso64536905e9.0 for <72463@debbugs.gnu.org>; Sun, 04 Aug 2024 22:18:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1722835030; x=1723439830; 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=xjhk0KcJDKTMbd+R24zgVVE7FSkeEN3WUILEYWBxD/g=; b=HRAiSv/cCCdCyBAqdAekh30QpsW8rGL1TuZtLMfS8ynZFeuckkEjunWehX6uacJRju 3QO/pEuTGEbnC+pu1zMWobMC/M8GjTqChEGqXqElb3wX+pOdgUDeE2LLtRXHyeOQj9Ho HC6gHf0UWW6MiVJawsczD6cvcI1m6cpMTbtX6tjzoNmHbOU/a7o+X5AakQKKAZnKALXs ewAMpHe0qL27ss6aToerSaLMmvfIXJ8xmNkKnA/IK1RG4usoKOg53twrplpXlrCL3MGP naAPDLRZ9a/1mbA/t3xUp/MIKRUdcE335Gc9iN4+cpvI2vos5mc2KDakAeRiCOQmuLid lV7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722835030; x=1723439830; 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=xjhk0KcJDKTMbd+R24zgVVE7FSkeEN3WUILEYWBxD/g=; b=Ywbvju/7wT9Ll8v84dPiuSMOoY90QpBA/esIMb1dF/SRQoai2mQZPVSgOSnXFxZ8MQ aibc1iLqVOZUt6VkgnH9AEOIrS3jV6Q0jOmvk6mAvg5htrYeJ/a5YKaiCK9NS19uWTWE Eim6arA8K9tgwhR4NG+mmpOhVfp8bJ9eM7CUx8HfMrJ8BU5+btofzYBStjTsrbn8qtPl MVsv89tTU23ga03GGtDHRxKx/fITsgS9l+oAWSgqgiGQa3FqPoHdziX4nDFsTQit9zwp v5Odn/xNn2d/DSuYmqjFzxBGGqOGI3pHgPz+z7Ek2Yx/mc5vZUn99mVg1E476PKLAONX cFIQ== X-Gm-Message-State: AOJu0YzRqUcEmWzis4YMWzGza+Uz68mJFUFv2xOMwYSWBnZNqJzgRpOr 1Dw8g7Kg/c7ecXECoj2KpfXQxXsy+Nd2CU3e8uu50lyWhszVPnqvJNdi3GUoRrdI5vg6FIFe6CJ 6 X-Google-Smtp-Source: AGHT+IGwD1dTeyAM5u6+ovz67fzeR3LwVkNONlYF3IFeIVeoes1w6ij654AhFS4xpvFOY2Q3oDbTJQ== X-Received: by 2002:a05:600c:4452:b0:426:602d:a246 with SMTP id 5b1f17b1804b1-428e6b91a2bmr88172805e9.32.1722835029556; Sun, 04 Aug 2024 22:17:09 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:924:598d:eaec:5b29:b4bd:5944]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbd0261c2sm8556021f8f.57.2024.08.04.22.17.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 22:17:09 -0700 (PDT) From: Roman Scherer Date: Mon, 5 Aug 2024 07:16:50 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 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/clojure.scm (clojure-tools-reader): New variable. --- gnu/packages/clojure.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 670075de4d..4bcf0479d6 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -860,3 +860,29 @@ (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.4.2") + (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 + "0rl0nas23f0a0iy5wl0v5kx4b6dqmi2xnvx4wr0xlpqbapz2ng3y")))) + (build-system clojure-build-system) + (arguments + '(#:doc-dirs '() + #:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:test-exclude '(clojure.tools.common-tests))) ; Loaded by other tests. + (synopsis "Clojure reader written in Clojure.") + (description "The clojure.tools.reader library offers all functionality +provided by the Clojure Core reader and more. It adds metadata such as column +and line numbers not only to lists, but also to symbols, vectors and maps.") + (license license:epl1.0)))