gnu: dool: Update to 1.3.3.

* gnu/packages/admin.scm (dool): Update to 1.3.3.
[arguments]<phases>: Fix "check" phase by removing "-f" option from the dool
arguments as it leads to failures during tests but works after installation.
Don't remove "examples/dstat.py" as it is already removed in the upstream.

Change-Id: I22714bc03bf248b97ba8f21835aedb213e1b281b
This commit is contained in:
Artyom V. Poptsov 2024-10-06 09:50:03 +03:00
parent 9d1b97d7a4
commit e032a0f38f
No known key found for this signature in database
GPG key ID: 935EBE0736DC857E

View file

@ -3544,7 +3544,7 @@ throughput (in the same interval).")
(define-public dool (define-public dool
(package (package
(name "dool") (name "dool")
(version "1.3.0") (version "1.3.3")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -3553,7 +3553,7 @@ throughput (in the same interval).")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name "dool" version)) (file-name (git-file-name "dool" version))
(sha256 (sha256
(base32 "1728wxy338gf2l06b0b4j9j8vihadw5whzzj7mi9p3by633h5s8m")))) (base32 "0y5y5c07hgj6v2nvimnwc8myx43li8ib40hdvz7q4q1pdqx3r0jl"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
(list (list
@ -3562,7 +3562,6 @@ throughput (in the same interval).")
(add-after 'unpack 'remove-symlinks-and-snap-packaging (add-after 'unpack 'remove-symlinks-and-snap-packaging
;; Remove symlinks that make 'ensure-no-mtimes-pre-1980 fail. ;; Remove symlinks that make 'ensure-no-mtimes-pre-1980 fail.
(lambda _ (lambda _
(delete-file "examples/dstat.py")
(delete-file-recursively "packaging/snap"))) (delete-file-recursively "packaging/snap")))
(delete 'build) (delete 'build)
(replace 'install (replace 'install
@ -3579,7 +3578,7 @@ throughput (in the same interval).")
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
(invoke "./dool" "--version") (invoke "./dool" "--version")
(invoke "./dool" "-taf" "1" "5"))))))) (invoke "./dool" "-ta" "1" "5")))))))
(synopsis "Command line system resource monitoring tool") (synopsis "Command line system resource monitoring tool")
(description "Dool is a command line tool to monitor many aspects of your (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 system: CPU, Memory, Network, Load Average, etc. It also includes a robust