From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iFVTGqIJJ2TdFwAASxT56A (envelope-from ) for ; Fri, 31 Mar 2023 18:26:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gA9RGqIJJ2RNkgAA9RJhRA (envelope-from ) for ; Fri, 31 Mar 2023 18:26:10 +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 E4595F94A for ; Fri, 31 Mar 2023 18:26:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piHZk-0006bR-7L; Fri, 31 Mar 2023 12:26: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 1piHZi-0006b1-Fj for guix-patches@gnu.org; Fri, 31 Mar 2023 12:26:02 -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 1piHZi-00050a-7p for guix-patches@gnu.org; Fri, 31 Mar 2023 12:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piHZi-0000Y4-35 for guix-patches@gnu.org; Fri, 31 Mar 2023 12:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62532] [PATCH v2] gnu: Add dool. References: <20230329183313.24453-1-yovan@gorski.stream> In-Reply-To: <20230329183313.24453-1-yovan@gorski.stream> Resent-From: Yovan Naumovski Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Mar 2023 16:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62532 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62532@debbugs.gnu.org Cc: Yovan Naumovski Received: via spool by 62532-submit@debbugs.gnu.org id=B62532.16802799572097 (code B ref 62532); Fri, 31 Mar 2023 16:26:02 +0000 Received: (at 62532) by debbugs.gnu.org; 31 Mar 2023 16:25:57 +0000 Received: from localhost ([127.0.0.1]:34355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piHZd-0000Xk-1V for submit@debbugs.gnu.org; Fri, 31 Mar 2023 12:25:57 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:40145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piHZa-0000XU-9Q for 62532@debbugs.gnu.org; Fri, 31 Mar 2023 12:25:55 -0400 Received: (Authenticated sender: yovan@gorski.stream) by mail.gandi.net (Postfix) with ESMTPSA id 51D1124000A; Fri, 31 Mar 2023 16:25:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gorski.stream; s=gm1; t=1680279947; 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=YgsQUGHr5gF6759K8V1Bli9IOdEh5azEDsada5JGV7Q=; b=OrsUqY+j48k6oy7vEnR2voWQ9dmk3gklsG+hNZdLmFfJ0yWSXaqzwZqPflRkeqGntn1LQo 9mskt/IC4simIwGBf0iEFqfr7OyL8m5wK5wfbTYB++nlqnNBa0wHCWGSW8JQlQbr6RTJg/ pqk5DXXa7r7ZTsIiEg9BMtTD7JN/rZUUOA+iPvUNsYcQw4ruiWGyWlx3hPamp48HSjHdIc dXqwBqQY4zLBV8vsobvqk2J0gbuxR409W2Jq/rbasFUng1RKkBFL/1ZaO6tu7Y2N9RLtKH +zDJsLiQkdXdnZiFi74UvC3Hpoq204Ir7g7W3xCyWKxPD60o8pvncpT2BDLarQ== Date: Fri, 31 Mar 2023 19:25:30 +0300 Message-Id: <20230331162530.27770-1-yovan@gorski.stream> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680279969; a=rsa-sha256; cv=none; b=dDMkb9HVvjANRp5TAAD8fiD4biS/Ky+WwGXsaJLZrgmsbSSQ0N/1Dxw149A0xo/k2hkE36 j0XTNRAOK7OCAt9cccoc/4xkOfJhn1xCNSrStpKeVkhhTH/1ElUZb8a3VNtNI8qXzy0g0H wPSOnZt0CdEtuqbaC5QP7yYet7OP2HCu4jLIALWbWtRNu44mFAo9hzIl5lD36Pa0slqhfB td6svwgf6H1gyDoUvkKrMWinOVhBuQz6GtuELBvYOt9Gkp8LKvMpVPsAkaVpnsPkVTKcKr PsA8dviaoWGLytoVwE8arO9IpDgodDo8z5gOdwVNj5khczUy8kmeUg//4n8uvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gorski.stream header.s=gm1 header.b=OrsUqY+j; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680279969; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YgsQUGHr5gF6759K8V1Bli9IOdEh5azEDsada5JGV7Q=; b=Vomk/fHOih5Q23DdHT4dnID9khcQ4rwQJUjiWDoYOfAr8jqsYxd3bljj1motR2y7fOoOSn dts+skcbPMszCrUF+KMe9XQi8GpqxZN/0LAwD8kFXz536d1LPlVJGUMMU012HYyA81Kw5H df9xFmhFL79lPPvm1bZXgaz9py28bjIlNvBUKagdBP83pJLuJslKaA2ekzoFMlCIarlt4R 1cbGAeNl2lUHapOvqo0oT8hXUt0qc5Jc9Wqk4YqACsUjTquokkMfjWYL/c6FqxYRLlDMVT hdSCSLdfKi9pViVIdjkDSx7uAOEEE+yYUZmWmxQeTLtfDiCJVMfqrch2d9y1pg== X-Migadu-Spam-Score: -3.32 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gorski.stream header.s=gm1 header.b=OrsUqY+j; dmarc=pass (policy=none) header.from=gnu.org; 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-Spam-Score: -3.32 X-Migadu-Queue-Id: E4595F94A X-TUID: Y1hMIFJbFL63 * gnu/packages/admin.scm (dool): New variable. --- gnu/packages/admin.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index f48362c203..48a16ea69d 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -3448,6 +3448,46 @@ (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")))) + (build-system python-build-system) + (arguments + (list + #: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 _ + (let ((share-man (string-append #$output "/share/man"))) + (substitute* "install.py" + (("homedir = os.path.expanduser(.*)$") + (string-append "homedir = \"" #$output "\""))) + (invoke "python" "install.py") + (install-file "docs/dool.1" (string-append share-man "/man1/"))))) + (delete 'install) + (delete 'check)))) + (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