From patchwork Fri Feb 4 00:25:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reily Siegel X-Patchwork-Id: 36971 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 3A4A827BBEB; Fri, 4 Feb 2022 00:27:20 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 D3AD527BBE9 for ; Fri, 4 Feb 2022 00:27:19 +0000 (GMT) Received: from localhost ([::1]:48716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFmRa-00020E-0U for patchwork@mira.cbaines.net; Thu, 03 Feb 2022 19:27:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFmQN-0001pf-KJ for guix-patches@gnu.org; Thu, 03 Feb 2022 19:26:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36197) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFmQN-00028j-A2 for guix-patches@gnu.org; Thu, 03 Feb 2022 19:26:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFmQN-00008V-71 for guix-patches@gnu.org; Thu, 03 Feb 2022 19:26:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH 09/17] gnu: Add clojure-tools-analyzer-jvm. 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: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 Received: via spool by 53765-submit@debbugs.gnu.org id=B53765.1643934325420 (code B ref 53765); Fri, 04 Feb 2022 00:26:03 +0000 Received: (at 53765) by debbugs.gnu.org; 4 Feb 2022 00:25:25 +0000 Received: from localhost ([127.0.0.1]:58315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFmPl-00006g-Di for submit@debbugs.gnu.org; Thu, 03 Feb 2022 19:25:25 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:43402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFmPj-00006M-A8 for 53765@debbugs.gnu.org; Thu, 03 Feb 2022 19:25:24 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (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-101.mailbox.org (Postfix) with ESMTPS id 4JqbsT1BWZz9sQX for <53765@debbugs.gnu.org>; Fri, 4 Feb 2022 01:25:17 +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=1643934314; 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=YOtfWePzknbm6q05fuxf4lCVfh7740Jm6CIRwcK4+UU=; b=SYFea9o2hWN7SSsVBYYFZK+BWLDwV59WZSEcRdLazHzsWJ8TeHiNx5qLVJg5DqTpX6Noi/ PFKJt/kYoQZEoPdUXrpRNJaDvKlUyH0UZrn9k/3CyZV7XkpUOYF6vz9O+QEunVYPTIfoOV YsTPX7KnkTbgl6J7yVueGbm6EPe0ZFQ3Mc6+R0uLv2pTH3bNSocfzR0mq76DBbFisk/Uka fbB9MXDVdHuc3NczaL2LMyEVE3Vdsq6aKt8/vDB+DvgxgXFq/+bAKyaY5GvAH9Px3uCyuH GobhDXyS0rIIP92sLDJMEudNp7x/kGTRQquT5dof/Ix80iFH0Qo1N1KxsQNIxA== From: Reily Siegel Date: Thu, 03 Feb 2022 19:25:11 -0500 Message-ID: <87leyr32c8.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-analyzer-jvm): New variable. --- gnu/packages/clojure.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 7e188b99b6..4cd50483e3 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -670,6 +670,34 @@ (define-public clojure-tools-analyzer @code{tools.analyzer.jvm}, @code{tools.analyzer.js}") (license license:epl1.0))) +(define-public clojure-tools-analyzer-jvm + (package + (name "clojure-tools-analyzer-jvm") + (version "1.2.2") + (home-page "https://github.com/clojure/tools.analyzer.jvm") + (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 + "1ibvgvfa4618l5d0pff9gjar1s0fwagi029v4allk7z3swb93ibr")))) + (build-system clojure-build-system) + (arguments + '(#:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:doc-dirs '("doc"))) + (propagated-inputs (list clojure-core-memoize + clojure-tools-reader + clojure-tools-analyzer + java-asm)) + (synopsis "Additional jvm-specific passes for @code{tools.analyzer}") + (description "An analyzer for Clojure code, written on top of +@code{tools.analyzer}, providing additional jvm-specific passes.") + (license license:epl1.0))) + (define-public clojure-tools-cli (package (name "clojure-tools-cli")