[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67515] [PATCH 57/91] gnu: Add rust-raw-cpuid-11.
From: |
Sergio Pastor Pérez |
Subject: |
[bug#67515] [PATCH 57/91] gnu: Add rust-raw-cpuid-11. |
Date: |
Tue, 28 Nov 2023 22:12:35 +0100 |
* gnu/packages/crates-io.scm (rust-raw-cpuid-11): New variable.
Change-Id: I630dc7ab7a225dfdeafe0c13e3669d61dbb33791
---
gnu/packages/crates-io.scm | 45 +++++++++++++++++++++++++++++---------
1 file changed, 35 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0ac92014f0..78703b8bc3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57111,8 +57111,42 @@ (define-public rust-randomize-4
(license
(list license:zlib license:asl2.0 license:expat))))
+(define-public rust-raw-cpuid-11
+ (package
+ (name "rust-raw-cpuid")
+ (version "11.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "raw-cpuid" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wfy57a5qd8yswyw8cqzvv1v9nw7wqh1lygla52w8hldcg2ag1lx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-termimad" ,rust-termimad-0.23))
+ #:cargo-development-inputs
+ (("rust-core-affinity" ,rust-core-affinity-0.8)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-phf" ,rust-phf-0.11)
+ ("rust-rustversion" ,rust-rustversion-1))))
+ (home-page "https://github.com/gz/rust-cpuid")
+ (synopsis "Library to parse the x86 CPUID instruction, written in Rust")
+ (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-raw-cpuid-10
(package
+ (inherit rust-raw-cpuid-11)
(name "rust-raw-cpuid")
(version "10.7.0")
(source (origin
@@ -57122,7 +57156,6 @@ (define-public rust-raw-cpuid-10
(sha256
(base32
"0ckkg47m8wbdinqg4z4dx7ipi3d7fjxdnrwzikx70x46rdwpcabc"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
@@ -57135,15 +57168,7 @@ (define-public rust-raw-cpuid-10
(("rust-core-affinity" ,rust-core-affinity-0.5)
("rust-libc" ,rust-libc-0.2)
("rust-phf" ,rust-phf-0.11)
- ("rust-rustversion" ,rust-rustversion-1))))
- (home-page "https://github.com/gz/rust-cpuid")
- (synopsis "Library to parse the x86 CPUID instruction, written in Rust")
- (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)))
+ ("rust-rustversion" ,rust-rustversion-1))))))
(define-public rust-raw-cpuid-8
(package
--
2.41.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#67515] [PATCH 57/91] gnu: Add rust-raw-cpuid-11.,
Sergio Pastor Pérez <=