[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48735] [PATCH v2 05/10] gnu: Add clojure-tools-gitlibs.
From: |
Reily Siegel |
Subject: |
[bug#48735] [PATCH v2 05/10] gnu: Add clojure-tools-gitlibs. |
Date: |
Thu, 23 Dec 2021 18:04:35 -0500 |
* gnu/packages/clojure.scm (clojure-tools-gitlibs): New variable.
---
gnu/packages/clojure.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 463d0fb46c..70239cb7e7 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -23,6 +23,7 @@
(define-module (gnu packages clojure)
#:use-module (gnu packages)
#:use-module (gnu packages java)
+ #:use-module (gnu packages version-control)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
@@ -368,3 +369,34 @@ (define-public clojure-tools-cli
"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 '()
+ ;; FIXME: Tests modify filesystem (cloning git repos), and the build
+ ;; system does not like this.
+ #:tests? #f))
+ (native-inputs (list git))
+ (synopsis "API for retrieving, caching, and programatically accessing git
+libraries")
+ (description "To access git dependencies (for example, via 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
+dirs and working trees that can be reused.")
+ (license license:epl1.0)))
--
2.34.0
- [bug#48735] [PATCH v2 01/10] gnu: Add maven-resolver-transport-file., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 02/10] gnu: Add maven-resolver-transport-http., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 03/10] build: clojure-utils: Don't try to compile Clojure, Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 04/10] gnu: Add clojure-test-check., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 05/10] gnu: Add clojure-tools-gitlibs.,
Reily Siegel <=
- [bug#48735] [PATCH v2 06/10] gnu: Add clojure-data-codec., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 07/10] gnu: Add clojure-data-xml., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 08/10] gnu: Add clojure-tools-deps-alpha., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 09/10] gnu: Add clojure-tools., Reily Siegel, 2021/12/23
- [bug#48735] [PATCH v2 10/10] gnu: clojure: Remove wrapper in favor of using, Reily Siegel, 2021/12/23