From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KBDINuIi3GYTGgAAqHPOHw:P1 (envelope-from ) for ; Sat, 07 Sep 2024 09:54:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KBDINuIi3GYTGgAAqHPOHw (envelope-from ) for ; Sat, 07 Sep 2024 11:54:43 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TDposYbX; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20230601.gappssmtp.com header.s=20230601 header.b=zq1JROE2; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725702882; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Kha3JdqWubk7Xd+FArj0WPVh/xMBXdNWDjfafxUnpHs=; b=Fk1D3cTuhVJ3UnteGk5Sz+XRl6Hjdm0YhyweIlUWl0farOoG6WWEB1GwNOAUDDsAm/aiBN 3uQHMeRg0NlyQb15qyirz4zHJNpew0dzxTZvywKUoss7Z2QDSmaY64rfaUY5xtVFyvj30q ICYqaO8xmsR4xZJHCLbBvajRtReuZXU7N3zd/W7Nw0PN0uefF7dndc2sSSRC48O6CwpfHN qnrMX4CQYSJ8Uax1SuSdmjgbtbhxdS6qJHFyskBU5Yb4+4U16YlhfUdMy1rCeq02hhOqCk kWVLZ7cq+Ara2iB19we5XcxGidy7UUfFRYuTKsnjY4GFicwi0uqGl9IttpEdyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TDposYbX; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20230601.gappssmtp.com header.s=20230601 header.b=zq1JROE2; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725702882; a=rsa-sha256; cv=none; b=medq24TuBkEUs+A3vGZyJOCARDotmy0AwvyN7Szsof/lXtbUCb7DYS0GEwaa+WrD6U0JwD JtlvAmB6e28NnSAcK0Zse3nSy/LdUBZYfWswkj6Bp9dUEunR0p+X3BqnfLcUw7f8tmeLlS IHC7aQfAXO5pKaq97LA/j1jkM75zdwXm9IQbVviQSoBUIN7RseI/k/vvGtRwxv4qXHr7jo e7JCG5WQSDm566UCc9/dOA+VgGTsAlK7RnmUr49G8w9x4pl+l7OHIIdinMNDmVSe+aGBiQ 6kvxYtAxGtxX/GOhYkOujxKo6GkSd3ki2r66dlwnXjQCdi3LwQpGrwfMWQV+Ig== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BEB0759432 for ; Sat, 07 Sep 2024 11:54:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms8p-0004mp-Oc; Sat, 07 Sep 2024 05:54:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sms8o-0004mG-Hi for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sms8o-00060m-7q for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Kha3JdqWubk7Xd+FArj0WPVh/xMBXdNWDjfafxUnpHs=; b=TDposYbX6cH+HxFyK26Il86R29HJddC2kEN8nGVKY301kg6NpOwoNdXpy+MuOuulBkrIA2sbDI/yxqWfZNH016cqn5gUfvWwLTjkMLtjT+obTDxqjuqA6/MlhvZl+7IJ3nADkcXZWp4/Q1yqVPPVm5QEu1hfkEOGTdb2G9HhR3fejda+ARTg5GSDlZ89qTXN65vuaCru6LsJAqkE+oJeygJV/VeuIorBDtJ3b8c8V0dmsSU0s5wUGdAdr+he4RvzBzUDVKXFkZ0tA7Wkt8ZVa0jLWe9Fzk8HbJ1i3FgMN9U2uX9YY0RyS6iPQ4hAQDugM2zvxcK7QKWKuomCtZG3kQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms8o-0000UT-Ou for guix-patches@gnu.org; Sat, 07 Sep 2024 05:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 04/10] gnu: Add clojure-core-memoize. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72463@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257027851746 (code B ref 72463); Sat, 07 Sep 2024 09:54:02 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:53:05 +0000 Received: from localhost ([127.0.0.1]:54883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7o-0000Qj-Cn for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:53:05 -0400 Received: from mail-ej1-f48.google.com ([209.85.218.48]:61621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7k-0000PU-9t for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:52:56 -0400 Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a8d100e9ce0so122999766b.2 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702709; x=1726307509; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Kha3JdqWubk7Xd+FArj0WPVh/xMBXdNWDjfafxUnpHs=; b=zq1JROE2/02YFxvKxILdZ/xwqyYZg+dBjhMa9D6DxOAfdW2nJoQHAQg8p44n/vpnhd aJ28EmS0/4diCIrHnPf4N2qbw78E7ZWNOu90U/ELb7swxOE/D3rGuzPr4KGReIiQlETW rQMtEosyvKY1rxJaT3d9eYTncfbg7kKz/nGayvWLgMTc8IdzPQn4wSGQ8eGsS4FPRKsK tpTbu8+voJbY0IZ950PukNJzVXIG+bQW1UiLzgLy9LZEcERh4TDhzOUIpTSVqnJ1cfrV 01taDVu/L861urLiI6zE9GHLWSQZlK1QlklGEVvTe/0fl2/JT70Kx7w01a7TayNKAGZd Q+Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702709; x=1726307509; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Kha3JdqWubk7Xd+FArj0WPVh/xMBXdNWDjfafxUnpHs=; b=aA5hf/v9H8xVtPy1LCS08L/vImlDCN1o5OP73jISrEAKV+f49iDlXL5WVJMuVhucA4 A4O/412Fdx04c6z/bqZDxRWa/aTwJQ6C8AVMrYQjVhpK7HMm7ZXhwQqFYwIH+NWz2Lhx imBy7yoLuZVcisO6O3oSjJWpkZBeKrvya0FfuGfUJH4T/maJXnfy6aGwl0RtKpyg98N5 Nkg2YFyO2t4lc0+SP3m/rGjVAXg2ITWT5T7ROopyL2Zva4kEg5v75GgvAyMNwmhfcUO3 CKMcgbKczJgQuo7w9JOKuZz7KkWHIRYPpdL1hATrdLlsTt/CNfNe6K9zozMIr6pmOQz5 7R8Q== X-Gm-Message-State: AOJu0YyEHVj4FtqRB4tJh2Pl4JqnP9gRVvABeFfzMLPcNxO82SMzEvuF yjoTYFjfLS+Jjx1BM4acgQBy/E2XIACJls442MRyft4wlB9q6Dnab1pmAs8YDr2wvf8wimfSgK7 X X-Google-Smtp-Source: AGHT+IE9cwR/10tOqOh4UWEUgKwwFkpI++5o6fTMiu6I8DJ+YSPbzOBv1fPbc3bdYNvShkbM1baULw== X-Received: by 2002:a17:906:f59d:b0:a8d:caa:7ffb with SMTP id a640c23a62f3a-a8d0caa92ecmr308657566b.29.1725702708639; Sat, 07 Sep 2024 02:51:48 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:a06:885c:78e0:c598:8647:eb0]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25a09e21sm52801566b.84.2024.09.07.02.51.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:47 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:29 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> References: <5d11790ac0fdc5c0cfe7e30fc23530f6ddaede90.1725702551.git.roman@burningswell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: BEB0759432 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.02 X-Spam-Score: -9.02 X-TUID: cjP44YurEa9/ * 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