aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRoman Scherer <roman@burningswell.com>2024-09-07 11:51:32 +0200
committerLudovic Courtès <ludo@gnu.org>2024-09-12 19:10:03 +0200
commit5c135bf180fb7e6df8a62fb23fe300f5596d9553 (patch)
treed3426168ccbee58937bfac2aed19afaa8576de81 /gnu
parent147c75d3f00662558fa876bdc141dd71a7b54ff9 (diff)
downloadguix-5c135bf180fb7e6df8a62fb23fe300f5596d9553.tar
guix-5c135bf180fb7e6df8a62fb23fe300f5596d9553.tar.gz
gnu: Add clojure-tools-analyzer-jvm.
* gnu/packages/clojure.scm (clojure-tools-analyzer-jvm): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/clojure.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index e6666c4440..98aed529f5 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -659,6 +659,34 @@ produces an abstract syntax tree in the EDN ( Extensible Data Notation)
format.")
(license license:epl1.0)))
+(define-public clojure-tools-analyzer-jvm
+ (package
+ (name "clojure-tools-analyzer-jvm")
+ (version "1.3.0")
+ (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
+ "13nxzdp15772hzl3jmi5014jkwldkm1qccfycwkk2pn64hycmnxl"))))
+ (build-system clojure-build-system)
+ (arguments
+ '(#:source-dirs '("src/main/clojure")
+ #:test-dirs '("src/test/clojure")
+ #:doc-dirs '("docs")))
+ (propagated-inputs (list clojure-tools-analyzer
+ clojure-tools-reader
+ clojure-core-memoize
+ java-asm))
+ (synopsis "Analyzer for Clojure code targeting the JVM")
+ (description "Analyzer for Clojure code, written on top of
+tools.analyzer, providing additional JVM-specific passes.")
+ (license license:epl1.0)))
+
(define-public clojure-tools-macro
(package
(name "clojure-tools-macro")