From patchwork Tue Jan 14 08:16:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junker X-Patchwork-Id: 37055 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 218CB27BBE2; Tue, 14 Jan 2025 08:18:29 +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=unavailable 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 0F08727BBE9 for ; Tue, 14 Jan 2025 08:18:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tXc7g-0007uK-Rb; Tue, 14 Jan 2025 03:18:04 -0500 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 1tXc7e-0007tv-DK for guix-patches@gnu.org; Tue, 14 Jan 2025 03:18:02 -0500 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 1tXc7d-0001zi-US for guix-patches@gnu.org; Tue, 14 Jan 2025 03:18:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=NoIj+yCg68mSlHaXRgzv71MH4fnalfi6YWGhhs5odqE=; b=t/gVZ2DYeEfLBL1e161LCVRR0yFQoFyMr7yX/GhWkpIbUtd+czQdsyOMS27wGtztx2EWNt3iYNQe7r1RL/jGTykzuETf3avAQnnqETsj79aG/e+aG1HhyQm/rS556OASAlr9tTUh+4/W436U51AKe1CGOE5SUf/mkRn+kjsUVVoAUjCnW4Zs2NiYAyTlq/u29m+pcH1eBQQBv08WlIqh+7PxTkb1jB4DnWvaq4yPTGCJq7/PS/cSaCcRpha7bBDXihYihbr61FxZefJPpZZlPfePgNZTCQY/XKt8Gxx1s27DUqH/8lKjYpA/hO0+o7IJDPCn3yNCTimTLDXpNNCvbQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tXc7d-0002rs-Oj for guix-patches@gnu.org; Tue, 14 Jan 2025 03:18:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75554] [PATCH] gnu: Add cl-trivial-battery Resent-From: Junker Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Jan 2025 08:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75554 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75554@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173684262410941 (code B ref -1); Tue, 14 Jan 2025 08:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2025 08:17:04 +0000 Received: from localhost ([127.0.0.1]:53842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXc6h-0002qP-Nl for submit@debbugs.gnu.org; Tue, 14 Jan 2025 03:17:04 -0500 Received: from lists.gnu.org ([2001:470:142::17]:40684) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tXc6e-0002pm-DR for submit@debbugs.gnu.org; Tue, 14 Jan 2025 03:17:02 -0500 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 1tXc6W-0007qk-Mg for guix-patches@gnu.org; Tue, 14 Jan 2025 03:16:52 -0500 Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tXc6U-0001vK-QD for guix-patches@gnu.org; Tue, 14 Jan 2025 03:16:52 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4YXMRJ2FvXz9t2W for ; Tue, 14 Jan 2025 09:16:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junkeria.club; s=MBO0001; t=1736842604; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=NoIj+yCg68mSlHaXRgzv71MH4fnalfi6YWGhhs5odqE=; b=HwT1VzZj5dQpK7pBrAmTgfLkBOrELXnGLl6V2BC7/HxcNR5uf+zav4bxJrr14B1xVwvEw4 1ROytBFEMR0UckJbdIhoYI3Ybx0e3agLmfNTPh0IQj2TngovJMDrHwRO8lNHIFv2yd7zey z7y86zpdgPh8ETPJR7hOt7nmqT67IPXwl0cBtqOZU/89q/LthGJvq/z4XlDSKHrGWH1BVy IvlES5gZkXZrVaViSnQ90IA5ArTr3zSzcw6JBTrbUg9IYDmc2YOeC4bg55oHJYy9H95azy jfL0x080E2cD0a2w1OH4+oC8wG4hW8xK1CW+xTCtmloW1Vzx6gq/KCnaV0iSYA== Date: Tue, 14 Jan 2025 11:16:41 +0300 From: Junker Message-ID: MIME-Version: 1.0 Content-Disposition: inline Received-SPF: pass client-ip=2001:67c:2050:0:465::202; envelope-from=dk@junkeria.club; helo=mout-p-202.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-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 Change-Id: Icdcf77738ba71e4705410aadedd6fe6f7babf1e1 --- gnu/packages/lisp-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) base-commit: 9edb4fe373893becde2ce3e6703b33093fd0b04a diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 0e799e1a8e..61204ca4e2 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -29978,6 +29978,35 @@ (define-public cl-trivial-backtrace (define-public ecl-trivial-backtrace (sbcl-package->ecl-package sbcl-trivial-backtrace)) +(define-public sbcl-trivial-battery + (let ((commit "318c9da88b4d11d3f33062e0fd09be660a383404") + (revision "1")) + (package + (name "sbcl-trivial-battery") + (version (git-version "0.1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pokepay/trivial-battery") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "12ni2502v9gjszhjsh0aai08cm64gl8g815xghdjhcf7y34ffl2b")))) + (build-system asdf-build-system/sbcl) + (inputs (list sbcl-split-sequence)) + (home-page "https://github.com/pokepay/trivial-battery") + (synopsis "A trivial library for getting the battery information.") + (description + "This package provides a Common Lisp library for getting the battery information.") + (license license:bsd-2)))) + +(define-public cl-trivial-battery + (sbcl-package->cl-source-package sbcl-trivial-battery)) + +(define-public ecl-trivial-battery + (sbcl-package->ecl-package sbcl-trivial-battery)) + (define-public sbcl-trivial-benchmark (let ((commit "1fbc8d15f09ed8aa426bc73956b8b7c9b2668802") (revision "2"))