3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add clojure-tools-gitlibs.

* gnu/packages/clojure.scm (clojure-tools-gitlibs): New variable.
This commit is contained in:
Reily Siegel 2021-12-23 18:04:35 -05:00 committed by Ricardo Wurmus
parent f1c63bd83f
commit a72006cff4
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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)))