From patchwork Sat Sep 7 09:51:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 67707 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 722EA27BBEA; Sat, 7 Sep 2024 10:54:48 +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=ham 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 3027527BBE2 for ; Sat, 7 Sep 2024 10:54:48 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms8v-0004od-C7; Sat, 07 Sep 2024 05:54:09 -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 1sms8p-0004mc-I2 for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:03 -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 1sms8p-00061D-8h for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:03 -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=l35sNFz/cZ34sYARlRfFSOjvikHtDSJaFITxkYNSpZc=; b=oSP0eR7z+IsCX6L2YuOHDl3w324x25GDNsRg0ATaqY/eEC27eNtjLotQOxNRYeT4IdD/RvDNfg+k2X4cUFoU1Wp6xW08al4c5NnZKONssd49SA1p5IO554nP5GJHANSrRBquUSu7jP3QJY24mgIyXM/RkYwwM0x6i/H4jtDUuRZPov1gQx4LdVHPoTKIbcdd16zmEYdb0l3WwvN9heSGndG8pH3IBttuhAn4f8LqIbRy4MJbJZOiqtRg+l3+WgospRCgjTCsEQ/6EqLIaZ1g3VB4CfrzGg7E697uC3hdqXlgjTbAj2eBC0Fk3fpwO70qoES5H5f/9iI507wkSJlJwQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms8p-0000Ul-Q3 for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 06/10] gnu: Add clojure-tools-reader. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:54:03 +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 Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257028001783 (code B ref 72463); Sat, 07 Sep 2024 09:54:03 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:53:20 +0000 Received: from localhost ([127.0.0.1]:54895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms88-0000Sa-5R for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:20 -0400 Received: from mail-ej1-f42.google.com ([209.85.218.42]:47327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7m-0000Pj-LP for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:52:59 -0400 Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a867a564911so363965066b.2 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702711; x=1726307511; 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=l35sNFz/cZ34sYARlRfFSOjvikHtDSJaFITxkYNSpZc=; b=QEgCMQU0RnCemqmfZjUqaK232ozF8twiXx4L6r7LxLVOVZb3MuDIcHQgVrrZWuTfht Vs9TCqalXiQfG443svEU/iJ7BH8mHj+p31wTzG0Axr7RSkjxOjj7o2FW+SsqxEob/RVs oCdy7TKZVzC8B7QLC0b9o4lRZe+IOTxzf1wSZEq4E2hA7RMruZdlsV+owaJc8/+vW8HD 1Esww6ti9ofz9YvG1z9kpjhEoGFmrmUbV1b2MWQ/304SlkZHnSm0mnkGVSSev/zGXQBd 9hxUhEmmTw0fpZQkVAzdPKPhgerTjR4Dpl8Zj6b4euHu8Sws13CKbiPfQ76OSkk67bjo OTkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702711; x=1726307511; 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=l35sNFz/cZ34sYARlRfFSOjvikHtDSJaFITxkYNSpZc=; b=RojelTBi8KO4mFWDs/0501wvF2hXJ9ISgXNxya8hCRqOwkjQdnCEcBx5PvJT0xPUnC 1TZmrLEq/Rz1xObp+gk4CS5Krm2KiJVjYdhrgBTaZFf2DS9zjCzwZK5dv8rIVBH0jojg OQUHpIGPxCUVK+ifKQiIg5l3ALqqhXJtw3BjWYaJmOoBTWQ+sC4THAe9R4/aAI3Lfodq mKOVq3vU+1azfHaV7os+w5qlE+n2INa0HrYP+2/KmDDIEtBO6V9e+BC5eS2H/UCzvoVN 6kgKNlatVPSTsyM3VvXJIa9Z4GB/XFSw0+axxVswHYIAmgCD/qNvaCvM4QQOGZK9/CJk JbjQ== X-Gm-Message-State: AOJu0Yzqk1S9YowkrKRw6BPJnLWmeJSnR66NZYuINydtxp1nfh8t0BC3 OIqBV1Yoo0yZV03dmGJRC2NDmcSXtgJR3SlZ9OTCQf3TtaMS3f5idTBMtfnf8OTZPcV7mu5vWIZ 0 X-Google-Smtp-Source: AGHT+IG+7kFwiLMVIxN9WkEEZjbX925eEFiMD4H1jspIerbm1nYFfI/XBq4Ij1U0NZOhIpCX1PFhtw== X-Received: by 2002:a17:907:7204:b0:a72:b4d6:ec6c with SMTP id a640c23a62f3a-a8a88667d3cmr370172066b.33.1725702711561; Sat, 07 Sep 2024 02:51:51 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:a06:885c:78e0:c598:8647:eb0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a09e21sm52801566b.84.2024.09.07.02.51.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:51 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:31 +0200 Message-ID: <3b346fa8d0905a6c18eafbc7c977b146100c3b56.1725702551.git.roman@burningswell.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> References: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.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-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 082ff530fa..e6666c4440 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.5.0") + (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 + "1jf05q4ym8z16qaxidx47g2gjv04qcf1wvkca3wqyiaszpvym4zz")))) + (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)))