mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 12:17:10 -05:00
gnu: Add rust-raw-cpuid-8.
* gnu/packages/crates-io.scm (rust-raw-cpuid-8): New variable.
This commit is contained in:
parent
f35dae5bec
commit
2df2bf81bd
1 changed files with 33 additions and 0 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue