aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRoman Scherer <roman@burningswell.com>2024-09-07 11:51:28 +0200
committerLudovic Courtès <ludo@gnu.org>2024-09-12 19:10:03 +0200
commit0487947e7d1cd0dfa50ae47d083e7c8bdf81e0a2 (patch)
tree7f95dd11fc5f7fa7ff0e075697ce070f08642829 /gnu
parent80ba4b8ecb18aa1cfaade39ca5f2bb1173ddddd0 (diff)
downloadguix-0487947e7d1cd0dfa50ae47d083e7c8bdf81e0a2.tar
guix-0487947e7d1cd0dfa50ae47d083e7c8bdf81e0a2.tar.gz
gnu: Add clojure-core-cache.
* gnu/packages/clojure.scm (clojure-core-cache): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/clojure.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 9887f1c520..005a7f2b4a 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -318,6 +318,33 @@ defining and using monads and useful monadic functions.")
(home-page "https://github.com/clojure/algo.monads")
(license license:epl1.0)))
+(define-public clojure-core-cache
+ (package
+ (name "clojure-core-cache")
+ (version "1.1.234")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/clojure/core.cache")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0jiq022kd5jdpmxz884rvg5317xmx7g3gnidkpcfsamchyfh5qxq"))))
+ (build-system clojure-build-system)
+ (arguments
+ '(#:source-dirs '("src/main/clojure")
+ #:test-dirs '("src/test/clojure")
+ #:doc-dirs '("docs")))
+ (propagated-inputs (list clojure-data-priority-map))
+ (synopsis "Clojure caching library")
+ (description
+ "Caching library for Clojure implementing various cache strategies such
+as First-in-first-out, Least-recently-used, Least-used, Time-to-live, Naive
+cache and Naive cache backed with soft references.")
+ (home-page "https://github.com/clojure/core.cache")
+ (license license:epl1.0)))
+
(define-public clojure-core-match
(package
(name "clojure-core-match")