diff mbox series

[bug#72463,05/10] gnu: Add clojure-tools-analyzer.

Message ID 2fc83989c89ddef3a2d9c1fca44325673a452f75.1722782570.git.roman@burningswell.com
State New
Headers show
Series Add Clojure Core packages and HTTPkit | expand

Commit Message

Roman Scherer Aug. 5, 2024, 5:16 a.m. UTC
* gnu/packages/clojure.scm (clojure-tools-analyzer): New variable.
---
 gnu/packages/clojure.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 12a54a3977..670075de4d 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -634,6 +634,31 @@  (define-public clojure-test-check
 concise, powerful tests.")
     (license license:epl1.0)))
 
+(define-public clojure-tools-analyzer
+  (package
+    (name "clojure-tools-analyzer")
+    (version "1.2.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
+                "05v4i8qs5d51lh113phib0brkysphxa2d71khm840586432knyaa"))))
+    (build-system clojure-build-system)
+    (arguments
+     '(#:source-dirs '("src/main/clojure")
+       #:test-dirs '("src/test/clojure")
+       #:doc-dirs '()))
+    (synopsis "An analyzer for Clojure code.")
+    (description "An analyzer for Clojure code, written in Clojure, which
+produces an abstract syntax tree in the EDN ( Extensible Data Notation)
+format.")
+    (license license:epl1.0)))
+
 (define-public clojure-tools-macro
   (package
     (name "clojure-tools-macro")