unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Roman Scherer <roman@burningswell.com>
To: 72463@debbugs.gnu.org
Cc: Roman Scherer <roman@burningswell.com>
Subject: [bug#72463] [PATCH v2 04/10] gnu: Add clojure-core-memoize.
Date: Sat,  7 Sep 2024 11:51:29 +0200	[thread overview]
Message-ID: <d52524b578ce3ba356dcbb34481defcb54955e8e.1725702551.git.roman@burningswell.com> (raw)
In-Reply-To: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com>

* gnu/packages/clojure.scm (clojure-core-memoize): New variable.
---
 gnu/packages/clojure.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 005a7f2b4a..7323b0181f 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -370,6 +370,33 @@ (define-public clojure-core-match
     (home-page "https://github.com/clojure/core.match")
     (license license:epl1.0)))
 
+(define-public clojure-core-memoize
+  (package
+    (name "clojure-core-memoize")
+    (version "1.1.266")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/clojure/core.memoize")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0nys79zrvcnwgyxb91zlyl3nb4p6r6y4n5rbdvzqkvsxxazi9ji0"))))
+    (build-system clojure-build-system)
+    (arguments
+     '(#:source-dirs '("src/main/clojure")
+       #:test-dirs '("src/test/clojure")
+       #:doc-dirs '("docs")))
+    (propagated-inputs (list clojure-core-cache))
+    (synopsis "Memoization framework for Clojure")
+    (description
+     "A manipulable, pluggable, memoization framework for Clojure implementing
+some common memoization caching strategies, such as First-in-first-out,
+Least-recently-used, Least-used and Time-to-live.")
+    (home-page "https://github.com/clojure/core.memoize")
+    (license license:epl1.0)))
+
 (define-public clojure-data-codec
   (package
     (name "clojure-data-codec")
-- 
2.45.2





  parent reply	other threads:[~2024-09-07  9:54 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-04 14:44 [bug#72463] [PATCH 00/10] Add Clojure Core packages and HTTPkit Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 01/10] gnu: Add clojure-data-json Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 02/10] gnu: Add clojure-data-priority-map Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 03/10] gnu: Add clojure-core-cache Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 04/10] gnu: Add clojure-core-memoize Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 05/10] gnu: Add clojure-tools-analyzer Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 06/10] gnu: Add clojure-tools-reader Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 07/10] gnu: Add clojure-tools-analyzer-jvm Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 08/10] gnu: Add clojure-tools-logging Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 09/10] gnu: Add clojure-core-async Roman Scherer
2024-08-05  5:16 ` [bug#72463] [PATCH 10/10] gnu: Add http-kit Roman Scherer
2024-09-06 21:55 ` [bug#72463] [PATCH 00/10] Add Clojure Core packages and HTTPkit Ludovic Courtès
2024-09-07  9:53   ` Roman Scherer
2024-09-12 17:08     ` bug#72463: " Ludovic Courtès
2024-09-12 18:35       ` [bug#72463] " Roman Scherer
2024-09-07  9:51 ` [bug#72463] [PATCH v2 01/10] gnu: Add clojure-data-json Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 02/10] gnu: Add clojure-data-priority-map Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 03/10] gnu: Add clojure-core-cache Roman Scherer
2024-09-07  9:51   ` Roman Scherer [this message]
2024-09-07  9:51   ` [bug#72463] [PATCH v2 05/10] gnu: Add clojure-tools-analyzer Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 06/10] gnu: Add clojure-tools-reader Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 07/10] gnu: Add clojure-tools-analyzer-jvm Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 08/10] gnu: Add clojure-tools-logging Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 09/10] gnu: Add clojure-core-async Roman Scherer
2024-09-07  9:51   ` [bug#72463] [PATCH v2 10/10] gnu: Add http-kit Roman Scherer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d52524b578ce3ba356dcbb34481defcb54955e8e.1725702551.git.roman@burningswell.com \
    --to=roman@burningswell.com \
    --cc=72463@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).