mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2026-01-25 03:54:58 -06:00
nongnu: python-nvidia-ml-py: Switch to pyproject-build-system.
* nongnu/packages/nvidia.scm (python-nvidia-ml-py) [build-system]: Switch to pyproject-build-system. [arguments] <#:tests?>: Disable. [native-inputs]: Add python-setuptools. Signed-off-by: Hilton Chain <hako@ultrarare.space> Modified-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
parent
40845d1739
commit
62829d8a05
1 changed files with 4 additions and 2 deletions
|
|
@ -1080,9 +1080,10 @@ simultaneous NVML calls from multiple threads.")
|
|||
(sha256
|
||||
(base32
|
||||
"09cnb7xasd7brby52j70y7fqsfm9n6gvgqf769v0cmj74ypy2s4g"))))
|
||||
(build-system python-build-system)
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list #:phases #~(modify-phases %standard-phases
|
||||
(list #:tests? #f ;No tests in PyPi archive.
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-libnvidia
|
||||
(lambda _
|
||||
(substitute* "pynvml.py"
|
||||
|
|
@ -1090,6 +1091,7 @@ simultaneous NVML calls from multiple threads.")
|
|||
(string-append #$(this-package-input
|
||||
"nvidia-driver")
|
||||
"/lib/libnvidia-ml.so.1"))))))))
|
||||
(native-inputs (list python-setuptools))
|
||||
(inputs (list nvidia-driver))
|
||||
(home-page "https://forums.developer.nvidia.com")
|
||||
(synopsis "Python Bindings for the NVIDIA Management Library")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue