From patchwork Mon Aug 5 05:16:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 66750 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AED7827BBEA; Mon, 5 Aug 2024 06:19:58 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 263CB27BBE2 for ; Mon, 5 Aug 2024 06:19:58 +0100 (BST) 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 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")