diff options
author | Roman Scherer <roman@burningswell.com> | 2024-09-07 11:51:31 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-09-12 19:10:03 +0200 |
commit | 147c75d3f00662558fa876bdc141dd71a7b54ff9 (patch) | |
tree | 0ccc807ee7311136cd7aa80a224b68173e148eaf /gnu/packages/clojure.scm | |
parent | 1f5d363e5f950cd837a17f25ead1b1801f5a93c0 (diff) | |
download | guix-147c75d3f00662558fa876bdc141dd71a7b54ff9.tar guix-147c75d3f00662558fa876bdc141dd71a7b54ff9.tar.gz |
gnu: Add clojure-tools-reader.
* gnu/packages/clojure.scm (clojure-tools-reader): New variable.
Diffstat (limited to 'gnu/packages/clojure.scm')
-rw-r--r-- | gnu/packages/clojure.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 082ff530fa..e6666c4440 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -860,3 +860,29 @@ dependency graph expansion and the creation of classpaths.") indicated by git SHAs. This library provides this functionality and also keeps a cache of git directories and working trees that can be reused.") (license license:epl1.0))) + +(define-public clojure-tools-reader + (package + (name "clojure-tools-reader") + (version "1.5.0") + (home-page "https://github.com/clojure/tools.reader") + (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 + "1jf05q4ym8z16qaxidx47g2gjv04qcf1wvkca3wqyiaszpvym4zz")))) + (build-system clojure-build-system) + (arguments + '(#:doc-dirs '() + #:source-dirs '("src/main/clojure") + #:test-dirs '("src/test/clojure") + #:test-exclude '(clojure.tools.common-tests))) ; Loaded by other tests. + (synopsis "Clojure reader written in Clojure") + (description "The clojure.tools.reader library offers all functionality +provided by the Clojure Core reader and more. It adds metadata such as column +and line numbers not only to lists, but also to symbols, vectors and maps.") + (license license:epl1.0))) |