diff options
| author | Roman Scherer <roman@burningswell.com> | 2024-09-07 11:51:28 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2024-09-12 19:10:03 +0200 |
| commit | 0487947e7d1cd0dfa50ae47d083e7c8bdf81e0a2 (patch) | |
| tree | 7f95dd11fc5f7fa7ff0e075697ce070f08642829 /gnu/packages/clojure.scm | |
| parent | 80ba4b8ecb18aa1cfaade39ca5f2bb1173ddddd0 (diff) | |
gnu: Add clojure-core-cache.
* gnu/packages/clojure.scm (clojure-core-cache): New variable.
Diffstat (limited to 'gnu/packages/clojure.scm')
| -rw-r--r-- | gnu/packages/clojure.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 9887f1c5208..005a7f2b4a0 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm | |||
| @@ -318,6 +318,33 @@ defining and using monads and useful monadic functions.") | |||
| 318 | (home-page "https://github.com/clojure/algo.monads") | 318 | (home-page "https://github.com/clojure/algo.monads") |
| 319 | (license license:epl1.0))) | 319 | (license license:epl1.0))) |
| 320 | 320 | ||
| 321 | (define-public clojure-core-cache | ||
| 322 | (package | ||
| 323 | (name "clojure-core-cache") | ||
| 324 | (version "1.1.234") | ||
| 325 | (source (origin | ||
| 326 | (method git-fetch) | ||
| 327 | (uri (git-reference | ||
| 328 | (url "https://github.com/clojure/core.cache") | ||
| 329 | (commit (string-append "v" version)))) | ||
| 330 | (file-name (git-file-name name version)) | ||
| 331 | (sha256 | ||
| 332 | (base32 | ||
| 333 | "0jiq022kd5jdpmxz884rvg5317xmx7g3gnidkpcfsamchyfh5qxq")))) | ||
| 334 | (build-system clojure-build-system) | ||
| 335 | (arguments | ||
| 336 | '(#:source-dirs '("src/main/clojure") | ||
| 337 | #:test-dirs '("src/test/clojure") | ||
| 338 | #:doc-dirs '("docs"))) | ||
| 339 | (propagated-inputs (list clojure-data-priority-map)) | ||
| 340 | (synopsis "Clojure caching library") | ||
| 341 | (description | ||
| 342 | "Caching library for Clojure implementing various cache strategies such | ||
| 343 | as First-in-first-out, Least-recently-used, Least-used, Time-to-live, Naive | ||
| 344 | cache and Naive cache backed with soft references.") | ||
| 345 | (home-page "https://github.com/clojure/core.cache") | ||
| 346 | (license license:epl1.0))) | ||
| 347 | |||
| 321 | (define-public clojure-core-match | 348 | (define-public clojure-core-match |
| 322 | (package | 349 | (package |
| 323 | (name "clojure-core-match") | 350 | (name "clojure-core-match") |
