mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: Add rust-nvml-wrapper-0.10.
* gnu/packages/crates-io.scm (rust-nvml-wrapper-0.10): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: I304322af0d1f841edd442196e429bee1bf0f172f
This commit is contained in:
parent
452632e9fa
commit
b42035f5c5
1 changed files with 30 additions and 0 deletions
|
@ -48052,6 +48052,36 @@ (define-public rust-numtoa-0.1
|
||||||
"1vs9rhggqbql1p26x8nkha1j06wawwgb2jp5fs88b5gi7prvvy5q"))))
|
"1vs9rhggqbql1p26x8nkha1j06wawwgb2jp5fs88b5gi7prvvy5q"))))
|
||||||
(arguments '(#:tests? #f))))
|
(arguments '(#:tests? #f))))
|
||||||
|
|
||||||
|
(define-public rust-nvml-wrapper-0.10
|
||||||
|
(package
|
||||||
|
(name "rust-nvml-wrapper")
|
||||||
|
(version "0.10.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "nvml-wrapper" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1i9q80f8x5zy646wvz1wkaydryvnfnwsi8jy72hh92fll45gz6qc"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; Tests expect libnvidia-ml.so from the NVIDIA driver
|
||||||
|
#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
|
||||||
|
("rust-libloading" ,rust-libloading-0.8)
|
||||||
|
("rust-nvml-wrapper-sys" ,rust-nvml-wrapper-sys-0.8)
|
||||||
|
("rust-serde" ,rust-serde-1)
|
||||||
|
("rust-serde-derive" ,rust-serde-derive-1)
|
||||||
|
("rust-static-assertions" ,rust-static-assertions-1)
|
||||||
|
("rust-thiserror" ,rust-thiserror-1)
|
||||||
|
("rust-wrapcenum-derive" ,rust-wrapcenum-derive-0.4))
|
||||||
|
#:cargo-development-inputs (("rust-pretty-bytes" ,rust-pretty-bytes-0.2))))
|
||||||
|
(home-page "https://github.com/Cldfire/nvml-wrapper")
|
||||||
|
(synopsis "Rust wrapper for the NVIDIA Management Library")
|
||||||
|
(description
|
||||||
|
"This package provides a safe and ergonomic Rust wrapper for the NVIDIA
|
||||||
|
Management Library.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-oauth2-types-0.7
|
(define-public rust-oauth2-types-0.7
|
||||||
(package
|
(package
|
||||||
(name "rust-oauth2-types")
|
(name "rust-oauth2-types")
|
||||||
|
|
Loading…
Reference in a new issue