summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-09 20:06:04 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-30 23:02:43 +0100
commit2df2bf81bd9d9a2dd007589f3950111675b94cff (patch)
tree0c4b46f173a6f91322f3be142d8cbb2d14592a1f /gnu/packages
parentf35dae5bec2ee6e38d6542e06f1d8f45c7ab1c61 (diff)
gnu: Add rust-raw-cpuid-8.
* gnu/packages/crates-io.scm (rust-raw-cpuid-8): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1a50f5c95c..813ed8df94 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23345,6 +23345,39 @@ random number generators.")
#:cargo-development-inputs
(("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
(package
(name "rust-rawpointer")