From patchwork Tue Oct 29 08:17:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 69615 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 5715027BBEA; Tue, 29 Oct 2024 08:18:51 +0000 (GMT) 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_DNSWL_BLOCKED, 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 75E3627BBE2 for ; Tue, 29 Oct 2024 08:18:48 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5hQY-0008BO-6K; Tue, 29 Oct 2024 04:18:10 -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 1t5hQV-0008B7-79 for guix-patches@gnu.org; Tue, 29 Oct 2024 04:18:07 -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 1t5hQU-0005DA-Tm for guix-patches@gnu.org; Tue, 29 Oct 2024 04:18:06 -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:Date:From:To:Subject; bh=+RX4CNqi8yzma1bpx2TX8zBWvnbCokOImwqxtQuYcPc=; b=qvecEE2obboN6o5sODmEOefEhSEkCCiD/FcbOpqulVupy3J5O41MDyMOvXN3qZ33Klbc6xOpzYmNFWP5IwYGPUXzsAWiArUmG+J2C9oS4Yaon7eqYuHJsJpceEirJVNgPXjev2PCGvIRcadltp3Nw3X6LaHXnLbEuFvQb9GrLrAcPrz37+0T4X1uquOC1PuB+k6AinoI3BUIR3eF98IfZBh60NgzTco36RoW/eydvc/bcDq9AWEbp2IJSPuugjcQM5qq0/rjyFqnp+h3lRa0mLbdGggZyFUzZ0jj+8h5FEksvQUGPX7tjf77Qa8OHwOBmIEIPHRyI658j5F2hSx7qg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5hQP-00025G-TV; Tue, 29 Oct 2024 04:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74080] [PATCH] gnu: Add sbcl-cacle. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 29 Oct 2024 08:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74080 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74080@debbugs.gnu.org Cc: Roman Scherer , Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by submit@debbugs.gnu.org id=B.17301898697983 (code B ref -1); Tue, 29 Oct 2024 08:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Oct 2024 08:17:49 +0000 Received: from localhost ([127.0.0.1]:55855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5hQC-00024g-M0 for submit@debbugs.gnu.org; Tue, 29 Oct 2024 04:17:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:45414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5hQA-00024X-0J for submit@debbugs.gnu.org; Tue, 29 Oct 2024 04:17:46 -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 1t5hQ7-00089V-FR for guix-patches@gnu.org; Tue, 29 Oct 2024 04:17:44 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5hQ4-00058B-A8 for guix-patches@gnu.org; Tue, 29 Oct 2024 04:17:42 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4316a44d1bbso47516905e9.3 for ; Tue, 29 Oct 2024 01:17:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1730189857; x=1730794657; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+RX4CNqi8yzma1bpx2TX8zBWvnbCokOImwqxtQuYcPc=; b=TCH0aH5JXOt/nfdSTpncU1CqQtyDV22M8dYlc4g7jxF2V66+ViBe5AGiNAzZ7VxDgX 7uVB4Ge207QoG05vA6mTsohD7l5+BklVv2w1RnRUHL5bggiX5E57GyO0/mXQxmxHSfXK 9l9z9U3SUP2ackElJSKbbUIcKoXvdsKNOJbGpilr6R+plypkvWXeO0/Ut30PzwGCawB9 LKPeN01WtVDSyz6Qwd8sK/7UV4mPio3Z8COKjUBV3nhqgOUaq0SKBqnrK3dHXRVH0IxL MtBVun4hSSOIFw4a9M7mf5DsB426VEBMNZ00I8Zcebm/OlYSxaQT3h78QxwDZWMFt1Ua FQuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730189857; x=1730794657; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+RX4CNqi8yzma1bpx2TX8zBWvnbCokOImwqxtQuYcPc=; b=pN12pwVuBVkIQtDRDO0IkmfdEX/ro/bNqfnHd+RHu/HKy0wSTodYo0UUUvquF0UY38 3QKEGe0WeIOzIYKyzHwpCxADeUxk91KAy5oHg+n1Kos79oFW5/ix5D52F2T/qX9gOHWU 0scKdGLOnLzzjbybFBc4NK++b50kx79A3okl825TmJ3GDqWQ+lgptSsB5PI/Sqwnn5DE WZTEba9NQmJ7kzSbAR0WM0ceb41BqYKSUXGDLh9m4HWYtM1azNR06aRkJzeRTepJdaP8 zPbWgyrTwx2lsnrTv8nQ4AXU2efV0S+6QCk8dSvBRBAiD3TNI9bzhQ0NDSsDgttQrAJP l0uQ== X-Gm-Message-State: AOJu0Ywd3ZSjQbH5+nYqrrJ7EqZVdJETZjmwgai7ubirs9f+kbqI84d0 zgmZh/Uf6ynu4jA7fgkRNil419Pjr/CwR8x/dcdrHTQN84DzSnrUr6ZmlviJR5ysDCUP/N4tJZo x X-Google-Smtp-Source: AGHT+IFQkxNDFdpX5iL/3oDX6coUQij9QcZLySob45ao4E3Q5/MS7NTCVfwImUuduv4Ph/FDOp+izQ== X-Received: by 2002:a05:600c:1390:b0:431:5ce4:bcf0 with SMTP id 5b1f17b1804b1-4319acb013dmr74899365e9.15.1730189856267; Tue, 29 Oct 2024 01:17:36 -0700 (PDT) Received: from precision.. (tmo-084-21.customers.d1-online.com. [80.187.84.21]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-431b4594f20sm15268245e9.1.2024.10.29.01.17.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 01:17:35 -0700 (PDT) From: Roman Scherer Date: Tue, 29 Oct 2024 09:17:31 +0100 Message-ID: <57ebe2977e743282e41b5e47cd3de06c323ea332.1730189808.git.roman@burningswell.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Received-SPF: none client-ip=2a00:1450:4864:20::330; envelope-from=roman@burningswell.com; helo=mail-wm1-x330.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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/lisp-xyz.scm (sbcl-cacle): New variable. Change-Id: I67e6702d132fed017d86be82665e44021c1b081f --- gnu/packages/lisp-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) base-commit: 4491dec50a97dbdebd7dd6d41a5596358b155b79 diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index d93c67ca5d..a44ec26f32 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -2686,6 +2686,39 @@ (define-public cl-cache-while (define-public ecl-cache-while (sbcl-package->ecl-package sbcl-cache-while)) +(define-public sbcl-cacle + (let ((commit "4cbe8cfe227d2e097eaced14766f4f37aa05e617") + (revision "1")) + (package + (name "sbcl-cacle") + (version (git-version "1.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jlahd/cacle") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0h0dk0sfkfl8g0sbrs76ydb9l4znssqhx8nc5k1sg7zxpni5a4qy")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-bordeaux-threads)) + (home-page "https://github.com/jlahd/cacle") + (synopsis "Extensible cache services for Common Lisp") + (description "This package provides implements a generic cache management facility +with configurable and extensible cache replacement policies. The +actual cached data can be stored anywhere, with cacle taking charge of +keeping track of which entry is to be discarded next when more space +is needed for a new entry.") + (license (list license:expat))))) + +(define-public cl-cacle + (sbcl-package->cl-source-package sbcl-cacle)) + +(define-public ecl-cacle + (sbcl-package->ecl-package sbcl-cacle)) + (define-public sbcl-calispel (let ((commit "e9f2f9c1af97f4d7bb4c8ac25fb2a8f3e8fada7a")) (package