From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2EuDMKreMWKfaQEAgWs5BA (envelope-from ) for ; Wed, 16 Mar 2022 13:57:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MID5LareMWIVHgAA9RJhRA (envelope-from ) for ; Wed, 16 Mar 2022 13:57:14 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 801E936C91 for ; Wed, 16 Mar 2022 13:57:14 +0100 (CET) Received: from localhost ([::1]:43822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUTDF-00054t-Lb for larch@yhetil.org; Wed, 16 Mar 2022 08:57:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUT1U-0007Bd-5w for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUT1T-0004c0-Qw for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nUT1T-0001kd-Oi for guix-patches@gnu.org; Wed, 16 Mar 2022 08:45:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH v2 08/18] gnu: Add clojure-tools-analyzer. 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:03 +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.16474346526492 (code B ref 53765); Wed, 16 Mar 2022 12:45:03 +0000 Received: (at 53765) by debbugs.gnu.org; 16 Mar 2022 12:44:12 +0000 Received: from localhost ([127.0.0.1]:50542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUT0d-0001gS-UH for submit@debbugs.gnu.org; Wed, 16 Mar 2022 08:44:12 -0400 Received: from mout-p-103.mailbox.org ([80.241.56.161]:35268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUT0b-0001fd-PL for 53765@debbugs.gnu.org; Wed, 16 Mar 2022 08:44:10 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (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 4KJVMR73TQz9smT; Wed, 16 Mar 2022 13:44:03 +0100 (CET) From: Reily Siegel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1647434643; 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=u/d3wM2+P+9UQOk4iTlEwR+0ne3vJWPOYsumBj7/xxM=; b=JfIz4KHg9fRJhfHlzAv02uWzMrWtEG+X1QvF/ACh0VF84Ygy8MjU088E03sFpQP2cVXOT8 +LOm8yykwof9P/TA4G7LBHL0lX9lJLGsgu5gRnvv33RzBcIUUYX4OgUkuni3RLl1PXrijl 5tYwl6QPTVY2FIhkdsJDD8jB//L150wxx/oZIfXklaMmpddZCsZHcQX1nML8V0jK5sYXoi 9JUtQtgakNTHuWNPicPMth9DktJSptYhhk32T1Grwh8zgnEI2oCSHLwXHhUIQU3h73aFwK YmyieiPuVbff/9sUMnG5UosFGbg2pfHEB9UJ2EmVTWeImK4ALcFmZJqr7Crbig== Date: Wed, 16 Mar 2022 13:44:01 +0100 Message-ID: <8735jidq3y.fsf@reilysiegel.com> MIME-Version: 1.0 Content-Type: text/plain 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647435434; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=u/d3wM2+P+9UQOk4iTlEwR+0ne3vJWPOYsumBj7/xxM=; b=mGVvlhaOOhb3bCImMBBIkS+Ojhw2ScXW/0ud//CtZeVR07mZirRUyqtV4JBQNj/OfxrfLI bUPqjz8iDmISS8JuDJbwk8OKER9w2S2uyNhgRM2LCxLwTjmQqN3n8z239E+lJEpcjCOvQn I4a0bx8qrtyCk/MHu4nMMTgdQv90RFIYfaccL6ZXVflMYnTqegdc5ywRFLOOGftg+LmoRe D0cioEMQQKfD8UdZIlNHjKdw0LKNd+yXfPbNlpyWg2D/zpgmiK+Fk+DH5oInYVcj+W7hHE XxKUi3i8P8Npwj8Oj1NyG8ZU6qNLb7gQliBPjJPcZAHoFbIBbsNo5CDrQ7jH9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647435434; a=rsa-sha256; cv=none; b=Lk8JrxyWENo1w0VfFCxs3YfSTWDBG2ASGsV0caPYejJBEmLkciV6rCnEd5TZpNwtxw2aZS YCWGnxMr8uUm6ngyYlpm40o3XBVRByq5aX1aU6fUVAzHm0m+qalkpnHEwDOu5Fm4pUxSkv kY3b6xTpM9sJnbI379/hZlHHve3QpFzXKDzjtqpwuSr9GwocZv2vtmZAg7zeA/zjE3JbJ4 LaA9yor87lBaJlTbZCcDbNu5zVfcBxKpg6i/a7fVkmVk4aS4qGpDGUXS6NlfBs8F/KBRkJ uitLJb2A4jCnov8sPIYADUdS4QPpLZWzNu7Pcoh8LjJF49dj02b3QRNLRiqy4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=JfIz4KHg; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.74 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=JfIz4KHg; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 801E936C91 X-Spam-Score: 0.74 X-Migadu-Scanner: scn1.migadu.com X-TUID: gOjytDZetEFS * gnu/packages/clojure.scm (clojure-tools-analyzer): New variable. --- gnu/packages/clojure.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 5e93a14dbc..4d64d72f5a 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -643,6 +643,37 @@ (define-public clojure-tools-macro (home-page "https://github.com/clojure/tools.macro") (license license:epl1.0))) +(define-public clojure-tools-analyzer + (package + (name "clojure-tools-analyzer") + (version "1.1.0") + (home-page "https://github.com/clojure/tools.analyzer") + (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 + "19cgxxbav3z3k62hwl34vbi3lilrs4vksa4j8lvswha8sdjs01vh")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '())) + (synopsis "Analyzer for Clojure code, written in Clojure and producing +AST in EDN") + (description "An analyzer for host agnostic Clojure code, written in +Clojure and producing AST in EDN. + +Note that the analyzer in this library should not to be used directly as it +lacks any knowledge about host-specific special forms and it should only be +considered as a building platform for host-specific analyzers. Currently the +following platform specific analyzers written on top of tools.analyzer exist: +@code{tools.analyzer.jvm}, @code{tools.analyzer.js}") + (license license:epl1.0))) + (define-public clojure-tools-cli (package (name "clojure-tools-cli") -- 2.34.0 -- Reily Siegel