From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YIbyEgBz/GG5ZQEAgWs5BA (envelope-from ) for ; Fri, 04 Feb 2022 01:27:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GKmwCwBz/GFvewAAG6o9tA (envelope-from ) for ; Fri, 04 Feb 2022 01:27:44 +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 E0B1018F94 for ; Fri, 4 Feb 2022 01:27:43 +0100 (CET) Received: from localhost ([::1]:50158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFmRz-00037E-5V for larch@yhetil.org; Thu, 03 Feb 2022 19:27:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFmQN-0001oS-6u for guix-patches@gnu.org; Thu, 03 Feb 2022 19:26:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFmQM-00028e-Tj for guix-patches@gnu.org; Thu, 03 Feb 2022 19:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFmQM-00008O-RG for guix-patches@gnu.org; Thu, 03 Feb 2022 19:26:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH 08/17] 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: Fri, 04 Feb 2022 00:26: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.1643934318400 (code B ref 53765); Fri, 04 Feb 2022 00:26:02 +0000 Received: (at 53765) by debbugs.gnu.org; 4 Feb 2022 00:25:18 +0000 Received: from localhost ([127.0.0.1]:58312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFmPe-00006O-4i for submit@debbugs.gnu.org; Thu, 03 Feb 2022 19:25:18 -0500 Received: from mout-p-202.mailbox.org ([80.241.56.172]:51162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFmPc-000060-1l for 53765@debbugs.gnu.org; Thu, 03 Feb 2022 19:25:16 -0500 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-202.mailbox.org (Postfix) with ESMTPS id 4JqbsL2fxbz9sTF for <53765@debbugs.gnu.org>; Fri, 4 Feb 2022 01:25:10 +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=1643934307; 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=k2EzJWOyTWEof1P+jIJRE8PcGn4uEapMsQebR4ByOo0=; b=vwLyCccQDAxxfNXi0AGY3LNznbxdNNrLdWW+ReuFYB1JLBEEFAVmSRZz2sm+BNSt2kV7FL ZSHX+nXqQo9Ic1dF9x23XvMhtiCjQT8UXld9UCHrAkpRToA/0ZfYlZlatfNA/u/WiBIFKp FXHmBvS0OFX+uXb/g+o1b3WOGJ8yvQ/ByVJz2L0QU79HXZrzM3Lmecn4z4jyfKtd3PBlNE /yT7HUwtBXBtygIf5jjc9wDwJoSC0uGh0aIHRIkn26tDjzBaXy3C4n5fktKCjSe+zwpVn2 0K7QPApDClOGWtOvcNdnHVlE5ANs+yJ9cLKdsCNFEE37hjBWnA2m3EHe+Kxi3g== From: Reily Siegel Date: Thu, 03 Feb 2022 19:25:03 -0500 Message-ID: <87mtj732cg.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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643934463; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=k2EzJWOyTWEof1P+jIJRE8PcGn4uEapMsQebR4ByOo0=; b=bHoNs/ilomXRgZ2/9hmlrRsl9fBhVya0D3lDh7kwj4OGr1wRU21aHvGZEX83nlwldCarmi JI/nrvVPw96OTFwN1MEUIPB3K9j1UXUYNx+yBxlY5ldA0fJ6RDw+wyqsOzH3dWopX6bFrr U/qYpZUGNLccMSaLMlN2ibgp3RG3YkRjL3PQquQRBjHtCBvBTW9TApgg0pa0yzc06bnBcX rTl/BY3BvjixHgrVMJa6mwue1k1RGoSTJNtKk601qAIxELk5kxic4fiWg4khsRuWWj3U0J 8QPpvVptULPcMUTqJ1ndfgWA8Bm9KUqKkUnI+7yiHICDy3MJOZ0JsNjHmlApYw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643934463; a=rsa-sha256; cv=none; b=K2YMWwuYCNqnz++NdYM4E6NhAh1YSRfeJy2qfD6y2tbh/6l/qEhHXUqZji0ahI5y9m56er tm3q6PoojDN0C27uWyE/t38kg8DfAlRd3yBMIfg8o/FUakC+P5lTVfDgGKAnjfNfGhzR/J 5JYS4PHmDSohzd/xmdPGb1wqUrFXMx+nmVUy65F7eM0k+z4u2G7tIdNYKUNz1VXU1eF+ah 6WYVY4yu7kD6/sr44IIwqQ9Ax+ic5d+mrLZAKQpD/WK8cDDM+Lrv8mwWtnW8klab/nhfty GZbwPaRdgQQUtdRqlc6Xc4x/kTBPaV7MLgnjJGdSzE4dGtVwC3lT3VBMleWSuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=vwLyCccQ; 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: -3.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=vwLyCccQ; 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: E0B1018F94 X-Spam-Score: -3.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: DheqvgLQg87Q * 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 23635fe1b9..7e188b99b6 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -639,6 +639,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