mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2026-01-25 03:54:58 -06:00
nongnu: nvidia-htop: Update to 1.2.0.
* nongnu/packages/nvidia.scm (nvidia-htop): Update to 1.2.0. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Replace 'check to change directory. [native-inputs]: Add python-pytest, python-setuptools. Signed-off-by: Hilton Chain <hako@ultrarare.space> Modified-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
parent
5dd40a1345
commit
722bb464e0
1 changed files with 16 additions and 8 deletions
|
|
@ -980,16 +980,23 @@ laptops.")
|
|||
(define-public nvidia-htop
|
||||
(package
|
||||
(name "nvidia-htop")
|
||||
(version "1.0.5")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "nvidia-htop" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0lv9cpccpkbg0d577irm1lp9rx6pacyk2pk9v41k9s9hyl4b7hvx"))))
|
||||
(build-system python-build-system)
|
||||
(version "1.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/peci1/nvidia-htop")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1d5cd4cp7swq5np8b9ryibhg2zpfwzh2dzbsvsrp0gx33krxjvyj"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list #:phases #~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda args
|
||||
(with-directory-excursion "test"
|
||||
(apply (assoc-ref %standard-phases 'check) args))))
|
||||
(add-after 'unpack 'fix-libnvidia
|
||||
(lambda _
|
||||
(substitute* "nvidia-htop.py"
|
||||
|
|
@ -997,6 +1004,7 @@ laptops.")
|
|||
(string-append #$(this-package-input
|
||||
"nvidia-driver")
|
||||
"/bin/nvidia-smi"))))))))
|
||||
(native-inputs (list python-pytest python-setuptools))
|
||||
(inputs (list nvidia-driver))
|
||||
(propagated-inputs (list python-termcolor))
|
||||
(home-page "https://github.com/peci1/nvidia-htop")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue