summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2026-01-05 16:45:59 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:31:10 +0100
commit6872ff5cf0c09148819f4b31cf8b07df16a1a826 (patch)
treed60c1ae6a92c789c87120d4227ce14ad53d08774
parentd1a82fdf818eaed271babccd8284b7bb35946526 (diff)
gnu: Add clojure-tools-namespace.
* gnu/packages/clojure.scm (clojure-tools-namespace): New variable. Change-Id: I00ff6953d976af7309dac518e362d6fa129ef3a8 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
-rw-r--r--gnu/packages/clojure.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 0918722f2ef..39e4309e8b9 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -1180,3 +1180,33 @@ to add a direct dependency on this package.")
1180 "This package contains various functions to generate random clojure data.") 1180 "This package contains various functions to generate random clojure data.")
1181 (home-page "https://github.com/clojure/data.generators") 1181 (home-page "https://github.com/clojure/data.generators")
1182 (license license:epl1.0))) 1182 (license license:epl1.0)))
1183
1184(define-public clojure-tools-namespace
1185 (package
1186 (name "clojure-tools-namespace")
1187 (version "1.5.1")
1188 (source (origin
1189 (method git-fetch)
1190 (uri (git-reference
1191 (url "https://github.com/clojure/tools.namespace")
1192 (commit (string-append "v" version))))
1193 (file-name (git-file-name name version))
1194 (sha256
1195 (base32
1196 "0j1lz3xnpgvyi0mcg9mjz7hrchf3hwhbhxi2163d739dxdx60s22"))))
1197 (build-system clojure-build-system)
1198 (arguments '(#:source-dirs '("src/main/clojure")
1199 #:test-dirs '("src/test/clojure")
1200 #:doc-dirs '()))
1201 (propagated-inputs (list clojure-java-classpath
1202 clojure-tools-reader))
1203 (synopsis "Tools for managing namespaces in Clojure")
1204 (description
1205 "This package parses ns declarations from source files, extract their
1206dependencies, build a graph of namespace dependencies within a project, update
1207that graph as files change, and reload files in the correct order.
1208
1209This is only about namespace dependencies within a single project. It has
1210nothing to do with Leiningen, Maven, JAR files, or repositories.")
1211 (home-page "https://github.com/clojure/tools.namespace")
1212 (license license:epl1.0)))