aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorReily Siegel <mail@reilysiegel.com>2021-12-23 18:04:35 -0500
committerRicardo Wurmus <rekado@elephly.net>2022-01-12 17:43:02 +0100
commita72006cff41ef3b8a80be6af4fd3e046dd4876af (patch)
tree33c08a670fb749b1af7806f2235668c9438e12f9 /gnu
parentf1c63bd83f9cce9c7c9b7f8da70f7b797d96a10a (diff)
downloadguix-a72006cff41ef3b8a80be6af4fd3e046dd4876af.tar
guix-a72006cff41ef3b8a80be6af4fd3e046dd4876af.tar.gz
gnu: Add clojure-tools-gitlibs.
* gnu/packages/clojure.scm (clojure-tools-gitlibs): 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 463d0fb46c..10171a3745 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -368,3 +368,31 @@ concise, powerful tests.")
"The @code{tools.cli} library provides Clojure programmers with tools to
work with command-line arguments.")
(license license:epl1.0)))
+
+(define-public clojure-tools-gitlibs
+ (package
+ (name "clojure-tools-gitlibs")
+ (version "2.4.172")
+ (home-page "https://github.com/clojure/tools.gitlibs")
+ (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
+ "19d83wigmigy66f5i61a3ishg7zrlv8jngj8m9brsh9v38a0fwdr"))))
+ (build-system clojure-build-system)
+ (arguments
+ '(#:source-dirs '("src/main/clojure")
+ #:test-dirs '("src/test/clojure")
+ #:doc-dirs '()
+ ;; Tests attempt to clone git repositories from the internet.
+ #:tests? #f))
+ (synopsis "Retrieve, cache, and programatically access git libraries")
+ (description "To access git dependencies (for example, via
+@code{tools.deps}), one must download git directories and working trees as
+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)))