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 w7LsJf5gsGbWEAEAqHPOHw:P1 (envelope-from ) for ; Mon, 05 Aug 2024 05:19:58 +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 w7LsJf5gsGbWEAEAqHPOHw (envelope-from ) for ; Mon, 05 Aug 2024 07:19:58 +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=eHuoM9mA; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20230601.gappssmtp.com header.s=20230601 header.b=m11y3JNV; 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=1722835198; 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=albj4NsZiq9DD35FhIvTKXUe13Mx4VCw+NY9y42/FvA=; b=rSjT51+ixgKzGzkfQVQ1+KKxy2ZWewFEGXvqSrN1MLRvyGDzyBP7fJOHMVIq0ZVDYItDmo GTNBy5W6Hp/H6rjPPU/3lwfP/ErUZRWLKeiCW/5aljVN6Aw27Um/0PV2LmkCzwfDlAqt+I /Vw5R0S2bxON6Jvt8YE0hadixIntrhVDmkzw17JTf3eMTORFcZbCL19RPLeO6Sr6PveK/6 S1k5sFkaQK5g3pMUVXaietzl1SDqSLeL36mg5w5VNSvHq+tnk24xSQkhd+fSvH6BJobMNG t8po2p7snkjkaQUuaMEeGaZ6qxGHEo6Exbz2fdnjKFGjzWmTh+eqr8q6EtMBeg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=eHuoM9mA; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20230601.gappssmtp.com header.s=20230601 header.b=m11y3JNV; 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=1722835198; a=rsa-sha256; cv=none; b=ee5IFclZ4aX0L7NSUH+CllGGaMoFWjmisq1s6jva6r0jXW/4rwVA+dRwSN9NXZPo2LuVKp pylddKRmBahzUOIyW9VjASwzIsp5OLKiyd/mUN6wbsU3LeXbEdJl1lF3JV3XhjvpS8YWCB tUx4M1jj5n2zKq96wJPvtkxgIWLUUz9tDIOKmX2dnUYIny6gc7D9MJda5T/hA3HQ2F9AqE pwamJGGoVoRNk5TGgUZN0m1E8x7fAFBeWXReRJETKrknzX3rZ8+sHc/jHyUlyx04CINXhh fGZF22xOefEyi6ZFi1WiObm7HySk8liX91XqsGggqTAzVDUGbztY7Qtr9MU7Jg== 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 75E3657693 for ; Mon, 5 Aug 2024 07:19:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saq7Z-00058a-17; Mon, 05 Aug 2024 01:19:01 -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 1saq7F-000556-Js for guix-patches@gnu.org; Mon, 05 Aug 2024 01:18:43 -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-0000mA-6A for guix-patches@gnu.org; Mon, 05 Aug 2024 01:18:41 -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=albj4NsZiq9DD35FhIvTKXUe13Mx4VCw+NY9y42/FvA=; b=eHuoM9mAa1B4UUEKw+rNzp5YJbAfzdTcKJqtMtwLSN8CCJiXX/TPHStzRa/P+PLb64LlcDVapbuSkGeUpQLQN/B32T/RMmMpBca58MblIoW0wpgzVXjvUGbw8o3apbq8tWqjWh8gVd1R/QwhifDN20c+UOxw6CfyQLUTvDz1+SGqWvEPFZ+xARoJ1qd2efjDv7YXCPEGs4E064oPe3GxXzkSsNk32wJUREbiGWLfwHlKck+HLzw2QmgfNaNqGbgQ9Zp8MmlE+qylIAJ8sIWEOaKJhT/PuBjve0gCeQO/xvF0AU+d4jvyhG0GNXx1vAp2pscHC6qcV6HR8lRdUhQo4w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saq7b-0005Te-3b for guix-patches@gnu.org; Mon, 05 Aug 2024 01:19:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH 03/10] gnu: Add clojure-core-cache. 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.172283511720864 (code B ref 72463); Mon, 05 Aug 2024 05:19:03 +0000 Received: (at 72463) by debbugs.gnu.org; 5 Aug 2024 05:18:37 +0000 Received: from localhost ([127.0.0.1]:57737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saq7B-0005QN-3d for submit@debbugs.gnu.org; Mon, 05 Aug 2024 01:18:37 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:48369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saq78-0005PO-3Y for 72463@debbugs.gnu.org; Mon, 05 Aug 2024 01:18:34 -0400 Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-369cb9f086aso5724817f8f.0 for <72463@debbugs.gnu.org>; Sun, 04 Aug 2024 22:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1722835026; x=1723439826; 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=albj4NsZiq9DD35FhIvTKXUe13Mx4VCw+NY9y42/FvA=; b=m11y3JNVxBOWmU0hPZj4HEAwH46BI61/IH4DovFmDcHuVd85A/h+8UlQ4U/1kgEWSr /me3sJzDhH59vjkPo5wOCGQ8T25ulrw/wddzuXsx3renXos1PZCllB5C/FqMEFwR2Cn6 4Gp3jv7K+UA9DUWWm9Jf8WHUk1sOWnKcnLrf4PyIvkC72HFVtf5eh0UZmyWBw1JZIVVy ImuizndVYN/CUpbw1LENvUmCJL8IBKk9rsmTMzE9nAHJ7X+VAlEQh5i0elFaDoPAdeLk RJyJ3rzqSqgylxIH6SkXS4hkMuo757/Ga/Ggr8wyOdh3ZzzleYqNSvdnqsovnMXXl/HW 3oiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722835026; x=1723439826; 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=albj4NsZiq9DD35FhIvTKXUe13Mx4VCw+NY9y42/FvA=; b=GXjxDavQX41F9ZiS8nkUoOgt712xn8mT4Mozdhax7E79mf5fEDx0kN8YmFBFDFSYCR nmt/7aEIGUBQsGNN5IHNvlAX1vOjkhXHo/02axsW/oqrHz0pCNuw5/kCn7O/P0fLwoiD 2XKPfiQT/9aP4xGt0yeGkbBLbSQfpmpYtd7qfPOm5sBSpmgDOgaEzk/lTSD8UPD/3PyC QaUgmGAky8KrsIFN5uPzxdNDOx7CTZt8Wyh1ATHjkHDh5akGRM9PwO8sBwGGmzfoOMe/ 7FuJBS1IhbW/k9fzUcUUS7iU80RgN+dmli/XHZQP+BM/ecRz9KFJo3e5zzQAklkEz/f+ EFCg== X-Gm-Message-State: AOJu0YwZsF9DvoWTejwKEbA+EjvfSvS37M13qNr3EyJNrEOgOAH+KpN0 DaIBAkN3GHmNOjPtHPDxLydX1swZqvW41eEu7dHhjx3ofSoXtDgpI/+gy8SpPdFd/I0rcHViM1t / X-Google-Smtp-Source: AGHT+IEMHIXSDy70iX6ktelX7WKa3zrDH2Ot6dq2vrTTwWHSNQyu+9SiIszHmkpEu4IDTq338aN/ZQ== X-Received: by 2002:adf:a45e:0:b0:367:8e53:7fd7 with SMTP id ffacd0b85a97d-36bbc12c518mr6569577f8f.28.1722835026228; Sun, 04 Aug 2024 22:17:06 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Aug 2024 22:17:05 -0700 (PDT) From: Roman Scherer Date: Mon, 5 Aug 2024 07:16:47 +0200 Message-ID: <391987d9085adfb7145333577f207a03ef5cef05.1722782570.git.roman@burningswell.com> 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 75E3657693 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -8.98 X-Spam-Score: -8.98 X-TUID: NqJrVdsa92Sd * gnu/packages/clojure.scm (clojure-core-cache): 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 d824d8e063..44f9cc4691 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -318,6 +318,33 @@ (define-public clojure-algo-monads (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") -- 2.45.2