guix_mirror_bot pushed a commit to branch next-master
in repository guix.
commit a1793857127785ab5940fb337e17c330e6c9e645
Author: Mathieu Lirzin <[email protected]>
AuthorDate: Mon Jan 5 16:45:59 2026 +0100
gnu: Add clojure-tools-namespace.
* gnu/packages/clojure.scm (clojure-tools-namespace): New variable.
Change-Id: I00ff6953d976af7309dac518e362d6fa129ef3a8
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/clojure.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 0918722f2e..39e4309e8b 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -1180,3 +1180,33 @@ to add a direct dependency on this package.")
"This package contains various functions to generate random clojure
data.")
(home-page "https://github.com/clojure/data.generators")
(license license:epl1.0)))
+
+(define-public clojure-tools-namespace
+ (package
+ (name "clojure-tools-namespace")
+ (version "1.5.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/clojure/tools.namespace")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0j1lz3xnpgvyi0mcg9mjz7hrchf3hwhbhxi2163d739dxdx60s22"))))
+ (build-system clojure-build-system)
+ (arguments '(#:source-dirs '("src/main/clojure")
+ #:test-dirs '("src/test/clojure")
+ #:doc-dirs '()))
+ (propagated-inputs (list clojure-java-classpath
+ clojure-tools-reader))
+ (synopsis "Tools for managing namespaces in Clojure")
+ (description
+ "This package parses ns declarations from source files, extract their
+dependencies, build a graph of namespace dependencies within a project, update
+that graph as files change, and reload files in the correct order.
+
+This is only about namespace dependencies within a single project. It has
+nothing to do with Leiningen, Maven, JAR files, or repositories.")
+ (home-page "https://github.com/clojure/tools.namespace")
+ (license license:epl1.0)))