gnu: Add rust-raw-cpuid-8.

* gnu/packages/crates-io.scm (rust-raw-cpuid-8): New variable.
This commit is contained in:
Nicolas Goaziou 2020-12-09 20:06:04 +01:00
parent f35dae5bec
commit 2df2bf81bd
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -23345,6 +23345,39 @@ (define-public rust-rand-xoshiro-0.1
#:cargo-development-inputs #:cargo-development-inputs
(("rust-rand" ,rust-rand-0.6)))))) (("rust-rand" ,rust-rand-0.6))))))
(define-public rust-raw-cpuid-8
(package
(name "rust-raw-cpuid")
(version "8.1.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "raw-cpuid" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0wry932lx7gqyxn7w54mg61b7hiwywyir754jhfxiws3pnfpvpqz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-cc" ,rust-cc-1)
("rust-rustc-version" ,rust-rustc-version-0.2)
("rust-serde" ,rust-serde-1)
("rust-serde-derive" ,rust-serde-derive-1))
#:cargo-development-inputs
(("rust-core-affinity" ,rust-core-affinity-0.5)
("rust-libc" ,rust-libc-0.2)
("rust-rustversion" ,rust-rustversion-0.1))))
(home-page "https://github.com/gz/rust-cpuid")
(synopsis
"A library to parse the x86 CPUID instruction, written in rust with no external dependencies. The implementation closely resembles the Intel CPUID manual description. The library does only depend on libcore.")
(description
"This package provides a library to parse the x86 CPUID instruction,
written in rust with no external dependencies. The implementation closely
resembles the Intel CPUID manual description. The library does only depend on
libcore.")
(license license:expat)))
(define-public rust-rawpointer-0.2 (define-public rust-rawpointer-0.2
(package (package
(name "rust-rawpointer") (name "rust-rawpointer")