From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yDHNC59zgGMDUAEAbAwnHQ (envelope-from ) for ; Fri, 25 Nov 2022 08:49:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mFK0C59zgGPEVAEA9RJhRA (envelope-from ) for ; Fri, 25 Nov 2022 08:49:51 +0100 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 CB39935556 for ; Fri, 25 Nov 2022 08:49:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyTSh-0006nw-PK; Fri, 25 Nov 2022 02:49:29 -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 1oyTSJ-0006nR-74 for guix-patches@gnu.org; Fri, 25 Nov 2022 02:49:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyTSI-0006TL-8a for guix-patches@gnu.org; Fri, 25 Nov 2022 02:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyTSH-0004Xx-Vf for guix-patches@gnu.org; Fri, 25 Nov 2022 02:49:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59564] [PATCH] gnu: Add cl-system-load. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Nov 2022 07:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59564 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59564@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166936251417439 (code B ref -1); Fri, 25 Nov 2022 07:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Nov 2022 07:48:34 +0000 Received: from localhost ([127.0.0.1]:33343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyTRq-0004XB-1D for submit@debbugs.gnu.org; Fri, 25 Nov 2022 02:48:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:53908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyTRn-0004X3-L4 for submit@debbugs.gnu.org; Fri, 25 Nov 2022 02:48:32 -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 1oyTRi-0006lP-Ut for guix-patches@gnu.org; Fri, 25 Nov 2022 02:48:30 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyTRZ-0006Ob-UJ for guix-patches@gnu.org; Fri, 25 Nov 2022 02:48:23 -0500 Date: Fri, 25 Nov 2022 07:48:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail3; t=1669362493; x=1669621693; bh=LoUlKLY94PxinGFSjXJ0DHn+DRi8krJ/ezKcOaEjPW0=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=FeMzXx20gLN4iKpO9G8OJHixFMySZBBAn7+cmWm3pgzIgVdDGzA995FWw4ipi+uY8 k1LcBK3uhNW6rLv+lzBEd5ewssJEehNe0GhL5hOzv0rYXTc2R1SdDZ/SuRPVkIHDdA YKxczIZoI29LBHgws5bRP92Y+zi33gIybxHSn55wYTGSgrAZayOg5cX/UzA76Cs7ab eRYQSPCO6VJ3IxmoQ2x+nXsnzrugPLgMu+ClXR1tlrT5/4Vli+BZe06cDPadIRFSyP ATub0Lt7nZo5VGzTy26ypTFOZc5wTw3Z4zvwvCkr/nnnHXDQIx6qKyGmt1RiV6VJXc Z6jl3dI25TAhw== From: "Paul A. Patience" Message-ID: <20221125074752.146689-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.136; envelope-from=paul@apatience.com; helo=mail-40136.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669362590; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=LoUlKLY94PxinGFSjXJ0DHn+DRi8krJ/ezKcOaEjPW0=; b=is6J5eqI/oW/PRyyUC1/a8WKNuTQalQi5FErPC2YJXxaQrbqbwX2R74TZIUjXUprMNYSEA Rfuo8u30kx3FtXfFIP6gg6xfuR6WTSVpMl2qwFPtZfp0wU1iTg9CZfn6VGBVXmdWFQzj8X X77S+hJ10feG7fTTUEfPsdOxn3syS4mqCZj+3z4pKA741zCGlLDPw6OSC9HJI+ExDpd1it gjH2Hajx04IrJIOlktTxgOnHGmG9RW9IqVnoRDHGcR1zBa+ojgsT/8cTBJ5jBbJevbGwJM 15b/RhrSay9HgRmEVLIbjkvNl3zqn7AEZ6XH5ZPsvi6UGQxk8xcgnwpR2CfDLg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669362590; a=rsa-sha256; cv=none; b=PEmCWQt2YR90SoTmzzahJDyEQsH7A/OOmB+F76w4mr1424DVOBL9rYNr+tKL/ax14NSMnH s42zlsg49pwRATA89llstwGlFzF7uPCkM7Hmwtr63mTnGudkNc9UB6D0uR2cEZby0aXxpZ 3o906X1iaffNDBVKm7Mp72/S3iudl5ZQH+jAmPJEVnc9aClW+B34f0SZiRBmcftwC2Wifc FnbrwWkkLUDfqd+3UmgLXXcvEya4ebz3P1LnHg4Eo+z1It6eDVEvls2ilLwdlWdhoQ7307 67NGfyQnNL9PHjdm8e48chZRP7neVp3zKQ1O+tvO3hZPLYhBuG/fE9Zt/rwS8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail3 header.b=FeMzXx20; dmarc=none; 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" X-Migadu-Spam-Score: 1.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail3 header.b=FeMzXx20; dmarc=none; 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" X-Migadu-Queue-Id: CB39935556 X-Spam-Score: 1.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: AkxlGpfcIpIC * gnu/packages/lisp-xyz.scm (sbcl-system-load, cl-system-load, ecl-system-load): New variables. --- gnu/packages/lisp-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 0416fc61ea..4b9462b08a 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -16736,6 +16736,35 @@ (define-public ecl-cl-cpus (define-public cl-cpus (sbcl-package->cl-source-package sbcl-cl-cpus)) +(define-public sbcl-system-load + (let ((commit "3ff1a40be55866cc5316ac7a530d872b12510294") + (revision "0")) + (package + (name "sbcl-system-load") + (version (git-version "1.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Shinmera/system-load") + (commit commit))) + (file-name (git-file-name "cl-system-load" version)) + (sha256 + (base32 "08d8kr8j5l2m8p69f47iklxhna394vx9mrys0sgplf5f2bqb7xcv"))= )) + (build-system asdf-build-system/sbcl) + (home-page "https://github.com/Shinmera/system-load") + (synopsis "Access system's CPU and memory usage from Common Lisp") + (description + "System-Load is a Common Lisp library for accessing the system's CP= U and +memory usage.") + (license license:zlib)))) + +(define-public cl-system-load + (sbcl-package->cl-source-package sbcl-system-load)) + +(define-public ecl-system-load + (sbcl-package->ecl-package sbcl-system-load)) + (define-public sbcl-fof (let ((commit "522879e7da110ecf2e841998b197b34062c54b29") (revision "1")) -- 2.38.0