summaryrefslogtreecommitdiff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm311
1 files changed, 161 insertions, 150 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index cfbff824d3..bbb16b7a84 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -35,7 +35,7 @@
;;; Copyright © 2020, 2021, 2022 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
-;;; Copyright © 2021-2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021-2025 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2021, 2023, 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2021 qblade <qblade@protonmail.com>
@@ -127,9 +127,6 @@
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
- #:use-module (gnu packages crates-graphics)
- #:use-module (gnu packages crates-io)
- #:use-module (gnu packages crates-windows)
#:use-module (gnu packages crypto)
#:use-module (gnu packages cryptsetup)
#:use-module (gnu packages curl)
@@ -220,14 +217,14 @@
(define-public aide
(package
(name "aide")
- (version "0.19.1")
+ (version "0.19.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/aide/aide/releases/download/v"
version "/aide-" version ".tar.gz"))
(sha256
- (base32 "0lhbx7ilwzpfl77vi7b6cklhgzk1iwyfp4fvvgvlmmq30igvzy3d"))))
+ (base32 "1i3lbsw1mhsnq54bx48zikdiph1ihxn021ca7kmys4b1yh2jnxi3"))))
(build-system gnu-build-system)
(arguments
(list #:configure-flags #~(list "--with-posix-acl"
@@ -269,7 +266,8 @@ usual file attributes can be checked for inconsistencies.")
"daemontools-" version ".tar.gz"))
(sha256
(base32
- "07scvw88faxkscxi91031pjkpccql6wspk4yrlnsbrrb5c0kamd5"))))
+ "07scvw88faxkscxi91031pjkpccql6wspk4yrlnsbrrb5c0kamd5"))
+ (patches (search-patches "daemontools-gcc14.patch"))))
(build-system gnu-build-system)
(arguments
(list #:tests? #f ;; No tests as far as I can tell.
@@ -303,7 +301,7 @@ services.")
(define-public detox
(package
(name "detox")
- (version "2.0.0")
+ (version "3.0.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -312,7 +310,7 @@ services.")
(file-name (git-file-name name version))
(sha256
(base32
- "0qix3ipvj5sn66id57k6gzilnz4f19jgwn4d72hj1jzi3m9f9k1h"))))
+ "0328w1hh279kgb4fn2vwbvwhmr32i7ayp665vs78pgjy84vhgxzy"))))
(build-system gnu-build-system)
(native-inputs
(list autoconf automake bison flex pkg-config))
@@ -577,7 +575,7 @@ interface and is based on GNU Guile.")
(if (or (target-arm?)
(target-riscv64?))
guile-fibers-1.1
- guile-fibers))))
+ guile-fibers-1.3)))) ;pinned version to avoid rebuilds
(inputs (modify-inputs (package-inputs shepherd-0.9)
(replace "guile-fibers"
(this-package-native-input "guile-fibers"))))))
@@ -585,14 +583,14 @@ interface and is based on GNU Guile.")
(define-public shepherd-1.0
(package
(inherit shepherd-0.10)
- (version "1.0.6")
+ (version "1.0.7")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/shepherd/shepherd-"
version ".tar.gz"))
(sha256
(base32
- "0cxyf50s7zzszi591f2974r2x3jkmlwrv0y51xjmwscs97ddyx7w"))))
+ "15vmfbnah4p978zs4j95fl7m3sy98z1brgyz2m8s30zfh5srnnij"))))
(arguments
(substitute-keyword-arguments (package-arguments shepherd-0.10)
((#:configure-flags flags #~'())
@@ -603,8 +601,13 @@ interface and is based on GNU Guile.")
"/bin/gzip")
(string-append "--with-zstd=" #$(this-package-input "zstd")
"/bin/zstd")))))
- (inputs (modify-inputs (package-inputs shepherd-0.10)
- (append gzip zstd)))))
+ (native-inputs
+ (modify-inputs (package-native-inputs shepherd-0.10)
+ (replace "guile-fibers" guile-fibers))) ;use latest guile-fibers available
+ (inputs
+ (modify-inputs (package-inputs shepherd-0.10)
+ (replace "guile-fibers" guile-fibers) ;use latest guile-fibers available
+ (append gzip zstd)))))
(define-public shepherd shepherd-0.10)
@@ -1028,7 +1031,7 @@ console.")
(define-public btop
(package
(name "btop")
- (version "1.4.4")
+ (version "1.4.5")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1037,7 +1040,7 @@ console.")
(file-name (git-file-name name version))
(sha256
(base32
- "1b918b86sw265kxg99d140z9qxrgv7qw461lnm843v89xj6m8zz0"))))
+ "03dchclmbjphirzqii4m0vyqfd0vw1k8mgpchmr13g3brlfzxd34"))))
(build-system gnu-build-system)
(native-inputs (list lowdown))
(arguments
@@ -1112,8 +1115,21 @@ on memory usage on GNU/Linux systems.")
(base32 "058y4a4mvx9m179dyr4wi8mlm6i4ybywshadaj4cvfn9fv0r0nkx"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list "--enable-sensors")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-dlopen
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "linux/LibSensors.c"
+ (("dlopen\\(\"libsensors\\.so")
+ (string-append "dlopen(\""
+ (search-input-file
+ inputs "/lib/libsensors.so")))))))))
(inputs
- (list ncurses))
+ (list ncurses (list lm-sensors "lib")))
(native-inputs
(list autoconf automake python-minimal-wrapper)) ; for scripts/MakeHeader.py
(home-page "https://htop.dev")
@@ -1252,7 +1268,8 @@ re-executing them as necessary.")
'("--with-path-procnet-dev=/proc/net/dev")
'())
#$@(if (target-hurd?)
- '("--disable-rcp"
+ '("--with-path-klog=/dev/klog"
+ "--disable-rcp"
"--disable-rexec"
"--disable-rexecd"
"--disable-rlogin"
@@ -2819,16 +2836,16 @@ module slots, and the list of I/O ports (e.g. serial, parallel, USB).")
(define-public acpica
(package
(name "acpica")
- (version "2025_04_04")
+ (version "20250807")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/acpica/acpica")
- (commit (string-append "R" version))))
+ (commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0ihya8k5w9xv2q0vmsp5syf3xihwmv3jxczw5j94fkzdkp52xlzr"))))
+ (base32 "06jh7y9aimw132hgcivn144rp6br2r30jqizh7hrq3nl589f73ir"))))
(build-system gnu-build-system)
(native-inputs (list flex bison))
(arguments
@@ -2875,7 +2892,7 @@ development, not the kernel implementation of ACPI.")
python-setuptools
python-wheel))
(inputs
- (list python-psutil-7
+ (list python-psutil
python-urwid-3))
(home-page "https://github.com/amanusk/s-tui")
(synopsis "Interactive terminal stress test and monitoring tool")
@@ -2924,7 +2941,7 @@ system is under heavy load.")
(define-public stress-ng
(package
(name "stress-ng")
- (version "0.18.04")
+ (version "0.19.03")
(source
(origin
(method git-fetch)
@@ -2933,7 +2950,7 @@ system is under heavy load.")
(commit (string-append "V" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "100w4qkrzpg7jjl4dw0c376xi811qnjmlbffiy43i945f9vl3dc7"))))
+ (base32 "1phrmjvvjn55pyfljfkk604d8q8wn17l416v91hskj98v7b7yhck"))))
(build-system gnu-build-system)
(arguments
;; XXX The test suite seems to cause instability on the VisionFive 2
@@ -3017,7 +3034,7 @@ environment variable is set and output is to tty.")
(define-public lr
(package
(name "lr")
- (version "1.6")
+ (version "2.0")
(source
(origin
(method git-fetch)
@@ -3026,14 +3043,14 @@ environment variable is set and output is to tty.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0qixmvxikyz02348xc0a718m9b1pzcazvf36rjbdk6ayn66g9hsd"))))
+ (base32 "05k971vf6080igfila8iav5d4j7sgh301123yng9lvsmr8frf8mf"))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f ; There are no tests.
- #:make-flags (list (string-append "CC=" ,(cc-for-target))
- (string-append "PREFIX=" %output))
- #:phases (modify-phases %standard-phases
- (delete 'configure))))
+ (list #:tests? #f ; There are no tests.
+ #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" %output))
+ #:phases #~(modify-phases %standard-phases
+ (delete 'configure))))
(synopsis "Tool to generate customized file listings")
(description
"lr is a tool for generating file listings, which includes the best
@@ -3317,7 +3334,7 @@ provides the following commands:
(native-search-paths
;; XXX: Attempting to use (package-native-search-paths python)
;; here would cause an error about python being an unbound
- ;; variable in the tests/cpan.scm test.
+ ;; variable in the tests/import/cpan.scm test.
(list (search-path-specification
(variable "GUIX_PYTHONPATH")
(files (list "lib/python3.11/site-packages")))))
@@ -3351,7 +3368,7 @@ modules and plugins that extend Ansible.")
(patches
(search-patches "debops-setup-py-avoid-git.patch"))))
(build-system pyproject-build-system)
- (native-inputs (list python-setuptools python-wheel))
+ (native-inputs (list python-setuptools))
(inputs
(list ansible
encfs
@@ -3373,6 +3390,7 @@ modules and plugins that extend Ansible.")
python-toml))
(arguments
(list
+ #:tests? #f ;no tests
#:modules '((guix build pyproject-build-system)
(guix build utils)
(srfi srfi-26))
@@ -3453,7 +3471,7 @@ limits.")
(define-public corectrl
(package
(name "corectrl")
- (version "1.4.5")
+ (version "1.5.1")
(source
(origin
(method git-fetch)
@@ -3462,8 +3480,8 @@ limits.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1gnqybf3s0bsm3qsbc6rd1spw09vxd417gn3hb6hflsj6377qfcb"))
- (patches (search-patches "corectrl-polkit-install-dir.patch"))))
+ (base32 "0y2qjp73kl7m6sx99kc0myfvvlf0rjx2yb3hff7jr6l87ayan09p"))
+ (patches (search-patches "corectrl-locate-polkit-with-pkg-config.patch"))))
(build-system qt-build-system)
(arguments
(list
@@ -3491,11 +3509,9 @@ limits.")
(("\"glxinfo\"")
(string-append
"\"" (search-input-file inputs "bin/glxinfo") "\""))))))))
- ;; Text formatting only supported since C++20, which is available in gcc-13.
- ;; https://en.cppreference.com/w/cpp/compiler_support#cpp_lib_format_201907L
(native-inputs (list catch2-3.8
pkg-config
- qttools-5))
+ qttools))
(inputs (list dbus
botan
hwdata
@@ -3503,12 +3519,14 @@ limits.")
polkit
procps
pugixml
- qtcharts-5
- qtdeclarative-5
+ qt5compat
+ qtbase
+ qtcharts
+ qtdeclarative
qtquickcontrols2-5
- qtsvg-5
- qtwayland-5
- quazip-5
+ qtsvg
+ qtwayland
+ quazip
spdlog
trompeloeil
units
@@ -4421,7 +4439,7 @@ you are running, what theme or icon set you are using, etc.")
(define-public hyfetch
(package
(name "hyfetch")
- (version "1.99.0")
+ (version "2.0.2")
(source
(origin
(method git-fetch)
@@ -4430,7 +4448,7 @@ you are running, what theme or icon set you are using, etc.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "02bc6dhwvf1daqlsw3am9y2wjfkhs8lpw3vgdxw74jg0w9bpzg8q"))))
+ (base32 "1h3s8m6csmxj815cpzh30m59132n8drxya0s2lh5ngjkpazgdnv3"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
@@ -4638,10 +4656,10 @@ everyone's screenshots nowadays.")
information tool.")
(license license:expat))))
-(define-public fastfetch
+(define-public fastfetch-minimal
(package
- (name "fastfetch")
- (version "2.49.0")
+ (name "fastfetch-minimal")
+ (version "2.53.0")
(source
(origin
(method git-fetch)
@@ -4650,7 +4668,7 @@ information tool.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1mka26ga6jmrimkl93xf97pg8y1k3b41vsb3ds61wi6n257daprk"))
+ (base32 "0w260lscjy3rqahhr2637hb3fqsklv2qx59f2v66wy99nnmqvbha"))
(modules '((guix build utils)))
(snippet '(begin
(delete-file-recursively "src/3rdparty")))))
@@ -4660,25 +4678,8 @@ information tool.")
#:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=ON"
"-DBUILD_FLASHFETCH=OFF"
"-DBUILD_TESTS=ON"
- "-DINSTALL_LICENSE=OFF"
- "-DBINARY_LINK_TYPE=dynamic"
- "-DENABLE_DIRECTX_HEADERS=OFF"
- (string-append "-DCUSTOM_PCI_IDS_PATH="
- #$(this-package-input "hwdata")
- "/share/hwdata/pci.ids")
- (string-append "-DCUSTOM_AMDGPU_IDS_PATH="
- #$(this-package-input "libdrm")
- "/share/libdrm/amdgpu.ids"))))
- (inputs (list dbus
- glib
- hwdata
- imagemagick
- libdrm
- libxcb
- mesa
- wayland
- yyjson
- zlib)) ;for imagemagick and an #ifdef
+ "-DINSTALL_LICENSE=OFF")))
+ (inputs (list yyjson))
(native-inputs (list pkg-config python-minimal))
(home-page "https://github.com/fastfetch-cli/fastfetch")
(synopsis "Display system information in a stylized manner")
@@ -4688,6 +4689,34 @@ a stylized way. Fastfetch displays this information next to a logo of the
system distribution, akin to many similar tools.")
(license license:expat)))
+(define-public fastfetch
+ (package
+ (inherit fastfetch-minimal)
+ (name "fastfetch")
+ (arguments
+ (substitute-keyword-arguments (package-arguments fastfetch-minimal)
+ ((#:configure-flags flags #~'())
+ #~(append #$flags
+ (list "-DBINARY_LINK_TYPE=dynamic"
+ "-DENABLE_DIRECTX_HEADERS=OFF"
+ (string-append "-DCUSTOM_PCI_IDS_PATH="
+ #$(this-package-input "hwdata")
+ "/share/hwdata/pci.ids")
+ (string-append "-DCUSTOM_AMDGPU_IDS_PATH="
+ #$(this-package-input "libdrm")
+ "/share/libdrm/amdgpu.ids"))))))
+ (inputs
+ (modify-inputs (package-inputs fastfetch-minimal)
+ (append dbus
+ glib
+ hwdata
+ imagemagick
+ libdrm
+ libxcb
+ mesa
+ wayland
+ zlib))))) ;for imagemagick and an #ifdef
+
(define-public nnn
(package
(name "nnn")
@@ -4726,7 +4755,7 @@ hard-coded.")
(define-public thermald
(package
(name "thermald")
- (version "2.5.9")
+ (version "2.5.10")
(source
(origin
(method git-fetch)
@@ -4735,7 +4764,7 @@ hard-coded.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "07rnf5xy2y7nmhwfcdv0vd08x5l25hflnnrgirahrngbkp0zmny9"))))
+ (base32 "1d8yj3d9crqz9ikzb0n2cdaal52gmw25kp6vy2gldwj8x6a3gngr"))))
(build-system gnu-build-system)
(arguments
(list
@@ -4760,7 +4789,7 @@ hard-coded.")
pkg-config))
(inputs
(list dbus-glib libevdev libxml2 upower xz))
- (home-page "https://01.org/linux-thermal-daemon/")
+ (home-page "https://github.com/intel/thermal_daemon")
(synopsis "CPU scaling for thermal management")
(description "The Linux Thermal Daemon helps monitor and control temperature
on systems running the Linux kernel.")
@@ -5115,23 +5144,22 @@ cache of unix and unix-like systems.")
(package
(name "solaar")
(version "1.1.14")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/pwr-Solaar/Solaar")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "000700waw4z6ab40naycapjgqz8yvz9ny1px94ni4pwf8f3kh0vh"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'build 'setenv-PATH
- (lambda _
- (setenv "PYTHONPATH" "lib"))))))
- (native-inputs (list python-pytest))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pwr-Solaar/Solaar")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "000700waw4z6ab40naycapjgqz8yvz9ny1px94ni4pwf8f3kh0vh"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-pytest-mock
+ python-setuptools
+ python-typing-extensions
+ python-wheel))
(propagated-inputs
(list python-pygobject
python-pyudev
@@ -5541,14 +5569,14 @@ Netgear devices.")
(define-public atop
(package
(name "atop")
- (version "2.11.1")
+ (version "2.12.0")
(source (origin
(method url-fetch)
(uri (string-append "https://www.atoptool.nl/download/atop-"
version ".tar.gz"))
(sha256
(base32
- "0m2ij25byrw7sn61pqjdpclmlmwlk2217hbdcvsvd273z5whyrbp"))))
+ "11ih6kan3j9kg83pjhy9yffgpr638b0mfg1fq90yzrhl1k4yq28d"))))
(build-system gnu-build-system)
(arguments
(list
@@ -5919,19 +5947,7 @@ it won't take longer to install 15 machines than it would to install just 2.")
(base32 "1j3c7skby9scsq6p1f6nacbiy9b26y1sswchdsp8p3vv7fgdh2wf"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-async-trait" ,rust-async-trait-0.1)
- ("rust-enquote" ,rust-enquote-1)
- ("rust-getopts" ,rust-getopts-0.2)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-nix" ,rust-nix-0.27)
- ("rust-pam-sys" ,rust-pam-sys-0.5)
- ("rust-rpassword" ,rust-rpassword-5)
- ("rust-serde" ,rust-serde-1)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-thiserror" ,rust-thiserror-1)
- ("rust-tokio" ,rust-tokio-1))
- #:install-source? #f
+ `(#:install-source? #f
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-/bin/sh
@@ -5978,7 +5994,7 @@ it won't take longer to install 15 machines than it would to install just 2.")
(install-file "agreety.1" man1))))))))
(inputs
;; Full bash, not bash-minimal. See https://issues.guix.gnu.org/76105.
- (list bash linux-pam))
+ (cons* bash linux-pam (cargo-inputs 'greetd)))
(native-inputs
(list scdoc))
(synopsis "Minimal and flexible login manager daemon")
@@ -6037,21 +6053,7 @@ interfering with any pam-mount configuration.")))
"0d7lfx5jg2w7fp7llwrirnbsp27nv74f21mhrspd9ilk2cacf12d"))))
(build-system cargo-build-system)
(arguments
- (list #:cargo-inputs
- `(("rust-chrono" ,rust-chrono-0.4)
- ("rust-getopts" ,rust-getopts-0.2)
- ("rust-greetd-ipc" ,rust-greetd-ipc-0.10)
- ("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-memmap2" ,rust-memmap2-0.3)
- ("rust-nix" ,rust-nix-0.25)
- ("rust-os-pipe" ,rust-os-pipe-1)
- ("rust-rusttype" ,rust-rusttype-0.9)
- ("rust-serde" ,rust-serde-1)
- ("rust-toml" ,rust-toml-0.5)
- ("rust-wayland-client" ,rust-wayland-client-0.29)
- ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.15)
- ("rust-wayland-protocols" ,rust-wayland-protocols-0.29))
- #:phases
+ (list #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-bundled-fonts
(lambda _
@@ -6075,10 +6077,11 @@ interfering with any pam-mount configuration.")))
inputs
(string-append "lib/" so-file)))))))))
(inputs
- (list font-dejavu
- font-google-roboto
- libxkbcommon
- wayland))
+ (cons* font-dejavu
+ font-google-roboto
+ libxkbcommon
+ wayland
+ (cargo-inputs 'wlgreet)))
(home-page "https://git.sr.ht/~kennylevinsen/wlgreet")
(synopsis "Bare-bones Wayland-based greeter for @command{greetd}")
(description
@@ -6110,6 +6113,29 @@ on a GUI toolkit.")
(home-page "https://git.sr.ht/~kennylevinsen/gtkgreet")
(license license:gpl3+)))
+(define-public tuigreet
+ (package
+ (name "tuigreet")
+ (version "0.9.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/apognu/tuigreet")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "15h2b97clllbhlw5jc4lwkmir18njnyk56zghafsas84m6jjsikv"))))
+ (build-system cargo-build-system)
+ (arguments (list #:install-source? #f))
+ (inputs (cargo-inputs 'tuigreet))
+ (home-page "https://github.com/apognu/tuigreet")
+ (synopsis "Graphical console greeter for @code{greetd}")
+ (description
+ "This package provides a graphical console greeter for @code{greetd}. It
+doesn't need a Wayland compositor to be used.")
+ (license license:gpl3+)))
+
(define-public libseat
(package
(name "libseat")
@@ -6234,7 +6260,8 @@ alias cysdig=sudo csysdig --modern-bpf
'("paths-arch.conf" "paths-debian.conf"
"paths-fedora.conf" "paths-freebsd.conf"
"paths-opensuse.conf" "paths-osx.conf")))))
- (patches (search-patches "fail2ban-paths-guix-conf.patch"))))
+ (patches (search-patches "fail2ban-fix-sshd-filter.patch"
+ "fail2ban-paths-guix-conf.patch"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -6285,6 +6312,10 @@ alias cysdig=sudo csysdig --modern-bpf
"fail2ban/client/fail2banregex.py")
(("/etc/fail2ban")
(string-append #$output "/etc/fail2ban")))))
+ (replace 'check
+ (lambda* (#:key tests? test-flags #:allow-other-keys)
+ (when tests?
+ (invoke "./bin/fail2ban-testcases"))))
(add-after 'fix-default-config 'set-action-dependencies
(lambda* (#:key inputs #:allow-other-keys)
;; deleting things that are not feasible to fix
@@ -6365,7 +6396,8 @@ alias cysdig=sudo csysdig --modern-bpf
"fail2ban-regex" "fail2ban-server"
"fail2ban-testcases"))
((install-man "5") "jail.conf")))))))
- (native-inputs (list python-setuptools python-wheel))
+ (native-inputs (list python-aiosmtpd
+ python-setuptools))
(inputs (list gawk
coreutils-minimal
curl
@@ -6553,39 +6585,17 @@ file or files to several hosts.")
(define-public du-dust
(package
(name "du-dust")
- (version "1.1.1")
+ (version "1.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "du-dust" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0qr6ikq2ds8bq35iw480qyhf3d43dj61wiwp8587n3mgqf5djx8w"))))
+ (base32 "1nx3a1vij6m7jkmjybaxpjmwqygh0byjqis94f8lx02i1yyw2w1d"))))
(build-system cargo-build-system)
(arguments
(list #:install-source? #f
- #:cargo-inputs `(("rust-ansi-term" ,rust-ansi-term-0.12)
- ("rust-chrono" ,rust-chrono-0.4)
- ("rust-clap" ,rust-clap-4)
- ("rust-clap-complete" ,rust-clap-complete-4)
- ("rust-clap-mangen" ,rust-clap-mangen-0.2)
- ("rust-config-file" ,rust-config-file-0.2)
- ("rust-ctrlc" ,rust-ctrlc-3)
- ("rust-directories" ,rust-directories-4)
- ("rust-filesize" ,rust-filesize-0.2)
- ("rust-lscolors" ,rust-lscolors-0.13)
- ("rust-rayon" ,rust-rayon-1)
- ("rust-regex" ,rust-regex-1)
- ("rust-serde" ,rust-serde-1)
- ("rust-serde-json" ,rust-serde-json-1)
- ("rust-stfu8" ,rust-stfu8-0.2)
- ("rust-sysinfo" ,rust-sysinfo-0.27)
- ("rust-terminal-size" ,rust-terminal-size-0.2)
- ("rust-thousands" ,rust-thousands-0.2)
- ("rust-unicode-width" ,rust-unicode-width-0.1)
- ("rust-winapi-util" ,rust-winapi-util-0.1))
- #:cargo-development-inputs `(("rust-assert-cmd" ,rust-assert-cmd-2)
- ("rust-tempfile" ,rust-tempfile-3))
#:phases #~(modify-phases %standard-phases
(add-after 'install 'install-extras
(lambda* (#:key outputs #:allow-other-keys)
@@ -6604,6 +6614,7 @@ file or files to several hosts.")
(install-file "completions/_dust"
(string-append share
"/zsh/site-functions"))))))))
+ (inputs (cargo-inputs 'du-dust))
(home-page "https://github.com/bootandy/dust")
(synopsis "Graphical disk usage analyzer")
(description "This package provides a graphical disk usage analyzer in