diff options
| author | Mathieu Lirzin <mthl@gnu.org> | 2026-01-05 16:45:59 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:31:10 +0100 |
| commit | 6872ff5cf0c09148819f4b31cf8b07df16a1a826 (patch) | |
| tree | d60c1ae6a92c789c87120d4227ce14ad53d08774 /gnu | |
| parent | d1a82fdf818eaed271babccd8284b7bb35946526 (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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/clojure.scm | 30 |
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.") "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))) |
