[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
34/244: gnu: Add dool.
From: |
guix-commits |
Subject: |
34/244: gnu: Add dool. |
Date: |
Wed, 12 Apr 2023 08:47:15 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit 9d83de1040c397d5857afb4b3928d3e29d9c8237
Author: Yovan Naumovski <yovan@gorski.stream>
AuthorDate: Fri Mar 31 19:25:30 2023 +0300
gnu: Add dool.
* gnu/packages/admin.scm (dool): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/admin.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index f48362c203..62a5443d66 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -3448,6 +3448,52 @@ throughput (in the same interval).")
(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")))
+ (delete 'build)
+ (replace 'install
+ (lambda _
+ (substitute* "install.py"
+ (("(bin_dir *= ?).*" _ prefix)
+ (string-append prefix "\"" #$output "/bin/\"\n"))
+ (("(plugin_dir *= ?).*" _ prefix)
+ (string-append prefix "\"" #$output "/share/dool/\"\n"))
+ (("(manpage_dir *= ?).*" _ prefix)
+ (string-append prefix "\"" #$output "/share/man/man1/\"\n")))
+ (invoke "python" "install.py" "--root")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "./dool" "--version")
+ (invoke "./dool" "-taf" "1" "5")))))))
+ (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")
- 12/244: services: mpd: Use proper records for user and group fields., (continued)
- 12/244: services: mpd: Use proper records for user and group fields., guix-commits, 2023/04/12
- 14/244: gnu: Add mairix., guix-commits, 2023/04/12
- 17/244: gnu: Add youplot., guix-commits, 2023/04/12
- 19/244: gnu: ytfzf: Replace YOUTUBE-DL by YT-DLP., guix-commits, 2023/04/12
- 20/244: gnu: Add font-chivo., guix-commits, 2023/04/12
- 23/244: gnu: python-hy: Update to 0.26.0., guix-commits, 2023/04/12
- 24/244: gnu: python-hy: Report version., guix-commits, 2023/04/12
- 31/244: gnu: libjxr: Fix cross-compilation., guix-commits, 2023/04/12
- 30/244: services: xvnc: Do not create a regular HOME directory for xvnc user., guix-commits, 2023/04/12
- 37/244: gnu: bambam: Update to 1.2.1., guix-commits, 2023/04/12
- 34/244: gnu: Add dool.,
guix-commits <=
- 33/244: gnu: a2ps: Improve package style., guix-commits, 2023/04/12
- 38/244: gnu: thermald: Update to 2.5.2., guix-commits, 2023/04/12
- 44/244: gnu: emacs-org: Update to 9.6.3., guix-commits, 2023/04/12
- 40/244: gnu: qpwgraph: Update to 0.4.2., guix-commits, 2023/04/12
- 41/244: gnu: uwufetch: Update to 2.1., guix-commits, 2023/04/12
- 22/244: gnu: endless-sky: Update to 0.10.0., guix-commits, 2023/04/12
- 53/244: doc: Add a reference to a page explaining consensus decision making., guix-commits, 2023/04/12
- 36/244: gnu: fheroes2: Update to 1.0.2., guix-commits, 2023/04/12
- 39/244: gnu: drawing: Update to 1.0.2., guix-commits, 2023/04/12
- 42/244: gnu: genie: Update to 1170., guix-commits, 2023/04/12