mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-29 21:58:36 +02:00
Merge branch 'devel' into 'main'
Devel See merge request glicid-public/guix-glicid!356
This commit is contained in:
commit
6fd2b57c50
2 changed files with 45 additions and 1 deletions
|
@ -29,7 +29,8 @@
|
|||
(uri (git-reference
|
||||
(url "https://github.com/containers/podman")
|
||||
(commit (string-append "v" version))))
|
||||
(sha256 (base32 "1nrqcg289d6d8flli8ybgh79nh2h8wvhqsyzi88jsqcn6w5c4bim"))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256 (base32 "06sif830kf1p9bk5znfar3naqv81prsxf6p0vw3g7gd8mdm946d5"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet '(begin
|
||||
(substitute* "Makefile" (("all: binaries docs") "all: binaries"))
|
||||
|
|
43
glicid/packages/perf-monitoring.scm
Normal file
43
glicid/packages/perf-monitoring.scm
Normal file
|
@ -0,0 +1,43 @@
|
|||
(
|
||||
define-module (glicid packages nvtop)
|
||||
#: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))
|
||||
|
||||
(package
|
||||
(name "nvtop")
|
||||
(version "3.0.2")
|
||||
(source
|
||||
(origin
|
||||
(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
|
||||
`(("ncurses" ,ncurses)
|
||||
("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)
|
||||
|
||||
)
|
Loading…
Add table
Reference in a new issue