From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AKJsKOtgsGaDKAAA62LTzQ:P1 (envelope-from ) for ; Mon, 05 Aug 2024 05:19:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AKJsKOtgsGaDKAAA62LTzQ (envelope-from ) for ; Mon, 05 Aug 2024 07:19:39 +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=odXIhOrG; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20230601.gappssmtp.com header.s=20230601 header.b=MTBjPVzm; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722835179; 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=t7vbGa3TNHcQBgPLmAboDj8ENBBRawEOlYnuN0QHmA8=; b=DmWeOhpQ5itpYYVRRxlmkuqMZGmjWZajZYwfu4PIY3lIuEYwz8rU+AH+eL+/bRaX91ho1m KlsJapZLwnh12CSnfNftZx0YmwGpHLg7ZPWiNheooUzM39RYgcZkq36S/4Fm6CTvi0yiqb DKiZlALP+dHqsJqxCUp0XqXTfbduL/GG4UbBLDI9+GQ8n27MSSkQWst+wVV253mVwsB1pQ z3wMVvMz6QVSbvCIgZ5vY09IOPg3mW4FlGgDdlghvK4wVVLrzfvC918b7dqGOI0Jwzr4MM +MQ/qdtAM6lF7k/GzNuB3QQdLy6oJFwmpTIaG1I+LaLdMba9rYcE62yph5fq0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722835179; a=rsa-sha256; cv=none; b=eeMfLSX6TTeofLZrx9duRAOBf8aNCa/X38EycH1whNAzwVwBuY2RpUp4AFdPI2EBuN86cT eyz/riwUgd/9DpSEMdhB2THeE/JIChZMtlKxptJHa8+GoWxj+u8uIhezSRxAiU2rkLvKI3 ZxbYY766Vo7IiFLoUS+7BYMaK/9YZwanoEuzsgFrHyOgB2NC6KuqAcAgMCv1J4WO3wPnDB xRpg3GA3Kubw3UCI3wOgMeOz8yx0EbA1MOGagAkCMW1EC19X2Cs7RwbIXuU6JF9lu+pjcm 7TeXkVymjqpQIiWJLkXxYOCu4V4o9S6/RTWnMxc8B8Zk6DiqTFNlK61aLbO+1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=odXIhOrG; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20230601.gappssmtp.com header.s=20230601 header.b=MTBjPVzm; dmarc=none; 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" 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 873C867B5F for ; Mon, 05 Aug 2024 07:19:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saq7V-00057d-60; Mon, 05 Aug 2024 01:18:57 -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 1saq7J-00055G-8G for guix-patches@gnu.org; Mon, 05 Aug 2024 01:18:47 -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 1saq7F-0000mF-Lm for guix-patches@gnu.org; Mon, 05 Aug 2024 01:18:43 -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=t7vbGa3TNHcQBgPLmAboDj8ENBBRawEOlYnuN0QHmA8=; b=odXIhOrGr7OIcX/VqV5tEvoa31WAPGsoPovS27RRHJjZQSlpkpsfR5qBn1DKaqvlF842DW6C7MEfBoJX+nshenYFX2ssadOnwtkTAXHtFz2Z7YrNFYPWE95hXlCpyC73kXCeuQ63xQNV4e2QV2HnCItsRu+DYHWKRN+sSs3an8McKRnY93YbhJmriVph7yjH1HyRVCiJgZv9MoHdZ24HVrwgLkjZiRqSbS85MVs4liD7YCFjlgcs0nlnVPkmbyf/JFh5R7DBhx0vDw8lcgOVssl9O0svuw2wyoKPDKNmBItB9HpcXyrfMGahmXY+kHC2+Kyn3QB9pjOJHN/Gqv0B/w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saq7b-0005Tl-JD for guix-patches@gnu.org; Mon, 05 Aug 2024 01:19:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH 04/10] gnu: Add clojure-core-memoize. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Aug 2024 05:19:03 +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 , andrew@trop.in Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.172283511820874 (code B ref 72463); Mon, 05 Aug 2024 05:19:03 +0000 Received: (at 72463) by debbugs.gnu.org; 5 Aug 2024 05:18:38 +0000 Received: from localhost ([127.0.0.1]:57739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saq7B-0005QY-Eo for submit@debbugs.gnu.org; Mon, 05 Aug 2024 01:18:37 -0400 Received: from mail-wm1-f52.google.com ([209.85.128.52]:59773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saq79-0005PS-5l for 72463@debbugs.gnu.org; Mon, 05 Aug 2024 01:18:35 -0400 Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-428101fa30aso68567005e9.3 for <72463@debbugs.gnu.org>; Sun, 04 Aug 2024 22:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1722835027; x=1723439827; 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=t7vbGa3TNHcQBgPLmAboDj8ENBBRawEOlYnuN0QHmA8=; b=MTBjPVzmuBEjU3RhTVaG+yJfEtyjb8vdcS2pR7FI5hyKqIpgkA/gPIFz+MGzPcGhVv bvHTrfj+/694LK7w2o8Kes0AzZhdIX2Kt5iF3lLaEN/x6jRUBoSsTPMeR8NMdXnmGIk9 TrLtZwUhOeVLQGXoTjX4m5cJxU4qKTZTbD3NRQwBhtLNWUXM1HqT+xRPIPWzkW9pIXFw xVVITVUrWKCqxxlV/kgA8YMJbNVEXBMc5hg8bqd0ezUHZBaTi/4/XPPdjPDDgRrEuVsA AGMPm1AH+dBRjxhblJmw/oBpJikpaCJvJKLtFzENlN0bJuClKllPieijd44+hkFarGv3 EknA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722835027; x=1723439827; 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=t7vbGa3TNHcQBgPLmAboDj8ENBBRawEOlYnuN0QHmA8=; b=IExB1+lIiyMIpVVHE0UO4U4S7nscE8AegvlCxFPwcflDo3X5MtoXRWZ5HVW3AOFOyh ekEKn3eRrQzcUrCR6mGSJWHBnPd6IY35jUuc8IHCLd4xxJncFGShPY6DgIhNnlUrDoad lYo5B+n12WacDGQvEm1PPmHxJ/yzd363FZES11UnzJ+CbXrNrhf50OzOWfbF6g9K4nvP AtEFCzUbQFgM6QfE1qTIB4EeI7eotIcU/Wkcq/yICKRMis5tK2KuGO+R1I9/8+/RaS1p OsXjlRujZcRWp80SNpgPj2rPfEVxsEHHn/M3JIuidSgM0I1jnUQgVG79f9wcIEMxa5IO 596A== X-Gm-Message-State: AOJu0YxY4PxFG8K7fCdYa6vcKdxB0ZT6aFQcAAA9x5K/ghVJEVAZ9vxh 5d9MMwGN9AviRjYvcCL4JCWHpf+r5iYQWFQiQTZnUTC3UNi8vdH48urT2eH5uW+XIUaB5pZby9E Q X-Google-Smtp-Source: AGHT+IGB8QDViC78gpxevZZdXaCTz/abzDB2sHYd+HcW3vODf+Sh8LeWQPhAKaPIcEQah8YQ9PB0xQ== X-Received: by 2002:adf:fac3:0:b0:367:9769:c330 with SMTP id ffacd0b85a97d-36bbc185864mr6255035f8f.61.1722835027205; Sun, 04 Aug 2024 22:17:07 -0700 (PDT) Received: from localhost.localdomain ([2a01:599:924:598d:eaec:5b29:b4bd:5944]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbd0261c2sm8556021f8f.57.2024.08.04.22.17.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 22:17:06 -0700 (PDT) From: Roman Scherer Date: Mon, 5 Aug 2024 07:16:48 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.98 X-Spam-Score: -5.98 X-Migadu-Queue-Id: 873C867B5F X-Migadu-Scanner: mx11.migadu.com X-TUID: Ee8n8C6EKUSw * 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 44f9cc4691..12a54a3977 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