From patchwork Sat Sep 7 09:51:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 67701 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 AE11A27BBEA; Sat, 7 Sep 2024 10:53:31 +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 6B17427BBE2 for ; Sat, 7 Sep 2024 10:53:31 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sms7t-0004aO-Dj; Sat, 07 Sep 2024 05:53:05 -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 1sms7q-0004Zp-Ve for guix-patches@gnu.org; Sat, 07 Sep 2024 05:53: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 1sms7q-0005wZ-MC for guix-patches@gnu.org; Sat, 07 Sep 2024 05:53: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=1nd2aHUc6e8sis96OE4/XbzCon+vBgkokrIVwD5yY8A=; b=T5bkMCaLP/PqycUzLs8h/VUeX3Kso4IDm2YaVOiD378KgibVLYNLMIstxEeYRcnTmAMg8P/9Pf2ZryvztyDI9++a00Bg6PeTwazX8Fyjw3UKwNUOP/DxnZMlVMlmCM3Xu/kJidMyzrQmfnQ4sqnbnO6sMIb3/5bqH7pPV6rpjkSNFTYCSnVDdv5VA5EJdCtbo1huE2Kb00Z9of/O77IpyHehWlnBH0vUDPK0+iyYRjWDsx/VwIsIysxQ+Kg34yyc36wD5RoFa7PzV1GuIpmkreRJA5XdwSpVGf7nrupnhIf72v6LRNXTxgD9lxSdgnz74X84n0BTT3ld2Q/vIB876w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sms7r-0000RI-5V for guix-patches@gnu.org; Sat, 07 Sep 2024 05:53:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72463] [PATCH v2 03/10] gnu: Add clojure-core-cache. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 09:53: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 Received: via spool by 72463-submit@debbugs.gnu.org id=B72463.17257027771633 (code B ref 72463); Sat, 07 Sep 2024 09:53:03 +0000 Received: (at 72463) by debbugs.gnu.org; 7 Sep 2024 09:52:57 +0000 Received: from localhost ([127.0.0.1]:54877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7k-0000Q4-K9 for submit@debbugs.gnu.org; Sat, 07 Sep 2024 05:52:57 -0400 Received: from mail-lf1-f51.google.com ([209.85.167.51]:54277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sms7i-0000PP-Ft for 72463@debbugs.gnu.org; Sat, 07 Sep 2024 05:52:54 -0400 Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-5365392cfafso2616092e87.0 for <72463@debbugs.gnu.org>; Sat, 07 Sep 2024 02:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1725702707; x=1726307507; 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=1nd2aHUc6e8sis96OE4/XbzCon+vBgkokrIVwD5yY8A=; b=AgBGqwkXtMtOWfdDLM9fAYeM3B3R7EkwaRd8Qm6jP98M3PKQKkYFs9dNVQf2bnN+cT DoSX5Nrb1PDjXCMGropdzMdQ+6nfAxbPKritQL4phNY60N279jqxynddlzSfUvylOtGS 2S6vAPK93/ORe5VFj8yqhnzING99sjKHQ20rti9pH0CllV+mrgdOQxB/kB9XUFZbySwN 7fpCxDZLe7ok9SOaa+3b65I1wJirq04WxzzLEzLPgMNKmeTTqJAWuHyEXY/s3f7Z23av ZCWM2emNBsCWjKwl+78DQocwpqgVtxI/QvSXMS4wcwf6xntOw1Z67oEfkJhxFaJ0Dtmm mh2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725702707; x=1726307507; 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=1nd2aHUc6e8sis96OE4/XbzCon+vBgkokrIVwD5yY8A=; b=A5OKdIohNDstm2AN8d7PZwOCNmUt0NDV5EEwh/cLlRjcAZM89/Y30Kk8kmI6IwSW40 mALP0JIdLbsoc3YigkYzVUegfmwVRh+h8H63lZRaZ8eNCgzT19p2VWwBeALh4zhe1Od9 f6ssiD1bEGnQFGYS8gw9mGjJdI/WtN/IUsi/JRaKK/33oUHE3D8xv2e2GBmz1rjUbGNI ZuB2f30cSYb5sIARrg6XPsf1AQTguaOZnD0VKM6hqhKSAe+68kj0xZIJS8kpIqdYbrg8 Q0iBQgr8JRhtvAKN/EdsqHE+dLLqKB9/2XZwjiNJu91xYZWF+PxGSWV242exKCGnzhzF fXSg== X-Gm-Message-State: AOJu0Yy5EIf76RwF7/kfRkjqqyItMP1VLNznk2gtvjxO1zaL+YNnR4mz 6Am1PzsBYurzV4ua7e1NIwUmobkVsp4LwihDqkALDu4/eTpIqr1AcCL7zE2lVlsID539iTKpKil o X-Google-Smtp-Source: AGHT+IG9XbhEqmfoVTEll7LMueVff0k1SOSPZT8PZ2QGazkBZDeQj32BocSd1Ipq1v7gjqN7limlEg== X-Received: by 2002:a05:6512:2213:b0:536:5413:2d56 with SMTP id 2adb3069b0e04-5365880d150mr3501237e87.51.1725702706597; Sat, 07 Sep 2024 02:51:46 -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.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2024 02:51:46 -0700 (PDT) From: Roman Scherer Date: Sat, 7 Sep 2024 11:51:28 +0200 Message-ID: <58d2392127ad7f84c03e52df73a418e9bc1d8d82.1725702551.git.roman@burningswell.com> 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 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 9887f1c520..005a7f2b4a 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")