guix-glicid/glicid/packages/perf-monitoring.scm

36 lines
1.5 KiB
Scheme
Raw Normal View History

2023-12-16 00:46:21 +01:00
(define-module (glicid packages perf-monitoring)
2025-02-10 13:12:59 +01:00
#:use-module (guix)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cmake)
#:use-module (gnu packages)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages linux)
#:use-module (gnu packages xdisorg)
#:use-module ((guix licenses) #:prefix license:)
#:export (nvtop))
2023-12-13 15:51:00 +00:00
(package
2025-02-10 13:12:59 +01:00
(name "nvtop")
(version "3.0.2")
(source
2023-12-13 15:51:00 +00:00
(origin
2025-02-10 13:12:59 +01:00
(method url-fetch)
(uri (string-append "https://github.com/Syllo/nvtop/archive/refs/tags/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (base32 "005f9dsaf3w0nck1r0h9mznv4svav8bc4l28f0h57zkmssi4byk3"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; No tests available
#:configure-flags '("-DNVIDIA_SUPPORT=ON" "-DINTEL_SUPPORT=ON" "-DAMDGPU_SUPPORT=ON" "-DMSM_SUPPORT=ON")))
(inputs
2023-12-13 15:51:00 +00:00
`(("ncurses" ,ncurses)
2025-02-10 13:12:59 +01:00
("pkg-config" ,pkg-config)
("eudev" ,eudev)
("libdrm" , libdrm)))
(home-page "https://github.com/Syllo/nvtop")
(synopsis "NVIDIA GPUs htop like monitoring tool")
(description "Nvtop is a htop-like monitoring tool for NVIDIA GPUs. It can show a quick overview of the GPU usage and the list of processes using the GPU.")
(license license:expat))