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 ms9.migadu.com with LMTPS id qGqOMbSEJGQ+cQEASxT56A (envelope-from ) for ; Wed, 29 Mar 2023 20:34:28 +0200 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 RxFvMbSEJGQGKQEA9RJhRA (envelope-from ) for ; Wed, 29 Mar 2023 20:34:28 +0200 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 0FFA9146AB for ; Wed, 29 Mar 2023 20:34:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phacW-0004tE-Uh; Wed, 29 Mar 2023 14:34:04 -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 1phacV-0004sv-Ka for guix-patches@gnu.org; Wed, 29 Mar 2023 14:34:03 -0400 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 1phacU-00067h-NY for guix-patches@gnu.org; Wed, 29 Mar 2023 14:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phacU-000080-Iz for guix-patches@gnu.org; Wed, 29 Mar 2023 14:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62532] [PATCH] gnu: Add dool. Resent-From: Yovan Naumovski Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Mar 2023 18:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62532 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62532@debbugs.gnu.org Cc: Yovan Naumovski X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1680114809442 (code B ref -1); Wed, 29 Mar 2023 18:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Mar 2023 18:33:29 +0000 Received: from localhost ([127.0.0.1]:54945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phabx-000071-1A for submit@debbugs.gnu.org; Wed, 29 Mar 2023 14:33:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:59862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phabv-00006q-HU for submit@debbugs.gnu.org; Wed, 29 Mar 2023 14:33:28 -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 1phabv-0004pp-43 for guix-patches@gnu.org; Wed, 29 Mar 2023 14:33:27 -0400 Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phabs-000644-TC for guix-patches@gnu.org; Wed, 29 Mar 2023 14:33:26 -0400 Received: (Authenticated sender: yovan@gorski.stream) by mail.gandi.net (Postfix) with ESMTPSA id 14B8640003; Wed, 29 Mar 2023 18:33:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gorski.stream; s=gm1; t=1680114799; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=0v7uXc54t398Nnbj3APsbvtWzAVBfJoxowQW1xhgU8A=; b=kcQnIA6SNorhy4OjSy3BwyfHtoFO+B3aRkkJkgvsnNeTXNR6hOEA9aMjjyfWGiNLngEjo5 wKYtTAGZMR+KQt4mdG2oM0oRaHz3kXJn6hrQulabl2irqfhAVVhCmG0ZBW/HWJKn/ynKPf pNpqMx+RkvEdQckBKtXALLiwHFa+HaAEBS0kwKapLJHGNORYQLVFPypzeydascce+uGHQW TaHkvDpSLGHTo6FVtzNcf+eTlZ6PblrbvDq6h1ij3/rIV3Iw3aUTzk5gSebt6tJXuaC2IZ /DbYx4A4kW3nzD89KEOj/VXgVbHz3qK2e3h13IU+gx33XTDgVGOUt2U191MAOA== Date: Wed, 29 Mar 2023 21:33:13 +0300 Message-Id: <20230329183313.24453-1-yovan@gorski.stream> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:4b98:dc4:8::222; envelope-from=yovan@gorski.stream; helo=relay2-d.mail.gandi.net X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.999, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01 autolearn=no 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: , Reply-to: Yovan Naumovski X-ACL-Warn: , Yovan Naumovski via Guix-patches From: Yovan Naumovski via Guix-patches via 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-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gorski.stream header.s=gm1 header.b=kcQnIA6S; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680114868; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=0v7uXc54t398Nnbj3APsbvtWzAVBfJoxowQW1xhgU8A=; b=laqT5vIfRj673s0Lulis/2Y19vsdbYmQ4O2uRTmir2Y0wpfytgQHF0MbacDn2BMWR7ai9p QldqUKa4znx0q2eDhyq3o4TeZw5FyigjCsHc4x4IWm2z2q+fQLj07dWbpS8fvPgLxo9AFM kJwvdKdF/r3oeeA0omu6+fgsxSRzDCDmHv9C6K2C406eeYrXApdN9+jbkVoKtav1Aabacm ovfppdbBuV6nzMimh1Ww2En8j2Dp49OKuA5OlSt16pGb19nD0wCexC8ji8xkynJViFJ6TN 8SB607YW0iaK45+U38Nshb3TY7IDPw66xKdzaLDOooWKgiQHFixJiufZ2SRx/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680114868; a=rsa-sha256; cv=none; b=RTH1Yv8stF6AtdYCEIo8seV/RHAGfQwC5Af9/2XQ8KWW7csjGlJhQCIxXEzPyGn/+R1rnE 8ByQog/n7HWeiyGK+fh6Td635hOHEfVvq5YJ3UJmKd82oy/2AINl6uXmzTSZyw4nNk/IwF PH8s8j6RPjYK1Lf7hATOiJssAx4jhcqgimZUqAD4wadpjCfyboGRaczn3zXh/nvUUq0jOy dBNOb2eUtgI6BJuhNWcFpWN2FTMmUYf9RkXAjVB+hxne2nT+K0EIOI4oclHHpH/ERO0I8O sCHO3/TipFjNhQbRhtRhyGMVXXhOwLzWIFy59lk+tvAeR7BFywvwdQ9bUWEu+Q== X-Migadu-Spam-Score: -2.02 X-Migadu-Scanner: scn1.migadu.com X-Migadu-Queue-Id: 0FFA9146AB Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gorski.stream header.s=gm1 header.b=kcQnIA6S; 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"; dmarc=pass (policy=none) header.from=gnu.org X-Spam-Score: -2.02 X-TUID: snFt8UiqHv6o * gnu/packages/admin.scm (dool): New variable. --- gnu/packages/admin.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index f48362c203..1f189f224c 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -3448,6 +3448,47 @@ (define-public dstat (home-page "http://dag.wiee.rs/home-made/dstat/") (license license:gpl2+))) +(define-public dool + (package + (name "dool") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/scottchiefbaker/dool") + (commit (string-append "v" version)))) + (file-name (git-file-name "dool" version)) + (sha256 + (base32 "13qq52lq7z3pl2mgrhwqh8c69p9x5rkyjqjswszd6vdbzm7zk7yq")))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-symlinks-and-snap-packaging + ;; remove symlinks that make 'ensure-no-mtimes-pre-1980 fail + (lambda _ + (delete-file "examples/dstat.py") + (delete-file-recursively "packaging/snap"))) + (replace 'build + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (out-share (string-append out "/share")) + (out-share-man (string-append out-share "/man"))) + (substitute* "install.py" + (("homedir = os.path.expanduser(.*)$") + (string-append "homedir = \"" out "\""))) + (invoke "python" "install.py") + (install-file "docs/dool.1" (string-append out-share-man "/man1/"))))) + (delete 'install) + (delete 'check)))) + (build-system python-build-system) + (synopsis "Command line system resource monitoring tool") + (description "Dool is a command line tool to monitor many aspects of your +system: CPU, Memory, Network, Load Average, etc. It also includes a robust +plug-in architecture to allow monitoring other system metrics.") + (home-page "https://github.com/scottchiefbaker/dool") + (license license:gpl2+))) + (define-public thefuck (package (name "thefuck") -- 2.39.2