[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
36/379: gnu: Add rust-raw-cpuid-10.
From: |
guix-commits |
Subject: |
36/379: gnu: Add rust-raw-cpuid-10. |
Date: |
Mon, 10 Jul 2023 05:27:50 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 0b3493cf569d6d30ebec90b0cefa552a0f697e3c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:11:42 2023 +0300
gnu: Add rust-raw-cpuid-10.
* gnu/packages/crates-io.scm (rust-raw-cpuid-10): New variable.
(rust-raw-cpuid-8): Inherit from rust-raw-cpuid-10.
---
gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++++++++----------
1 file changed, 36 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b32c841265..a031ceed4a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49583,8 +49583,43 @@ random generic types.")
(license
(list license:zlib license:asl2.0 license:expat))))
+(define-public rust-raw-cpuid-10
+ (package
+ (name "rust-raw-cpuid")
+ (version "10.7.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "raw-cpuid" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ckkg47m8wbdinqg4z4dx7ipi3d7fjxdnrwzikx70x46rdwpcabc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-clap" ,rust-clap-3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-termimad" ,rust-termimad-0.20))
+ #:cargo-development-inputs
+ (("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)))
+
(define-public rust-raw-cpuid-8
(package
+ (inherit rust-raw-cpuid-10)
(name "rust-raw-cpuid")
(version "8.1.2")
(source
@@ -49594,7 +49629,6 @@ random generic types.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0wry932lx7gqyxn7w54mg61b7hiwywyir754jhfxiws3pnfpvpqz"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
@@ -49605,15 +49639,7 @@ random generic types.")
#: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 "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-0.1))))))
(define-public rust-rawpointer-0.2
(package
- 31/379: gnu: Add rust-phf-macros-0.11., (continued)
- 31/379: gnu: Add rust-phf-macros-0.11., guix-commits, 2023/07/10
- 32/379: gnu: Add rust-phf-shared-0.11., guix-commits, 2023/07/10
- 21/379: gnu: rust-is-terminal-0.4: Update to 0.4.7., guix-commits, 2023/07/10
- 24/379: gnu: Add rust-memoffset-0.8., guix-commits, 2023/07/10
- 28/379: gnu: Add rust-phf-0.11., guix-commits, 2023/07/10
- 30/379: gnu: Add rust-phf-generator-0.11., guix-commits, 2023/07/10
- 29/379: gnu: Add rust-phf-codegen-0.11., guix-commits, 2023/07/10
- 37/379: gnu: Add rust-rustix-0.37., guix-commits, 2023/07/10
- 42/379: gnu: Add rust-signature-2., guix-commits, 2023/07/10
- 45/379: gnu: rust-tempfile-3: Update to 3.5.0., guix-commits, 2023/07/10
- 36/379: gnu: Add rust-raw-cpuid-10.,
guix-commits <=
- 39/379: gnu: Add rust-scrypt-0.11., guix-commits, 2023/07/10
- 33/379: gnu: Add rust-pkcs8-0.10., guix-commits, 2023/07/10
- 34/379: gnu: Add rust-pkcs5-0.7., guix-commits, 2023/07/10
- 35/379: gnu: rust-proptest-1: Update to 1.1.0., guix-commits, 2023/07/10
- 41/379: gnu: Add rust-signature-derive-2., guix-commits, 2023/07/10
- 46/379: gnu: Add rust-windows-aarch64-msvc-0.48., guix-commits, 2023/07/10
- 52/379: gnu: Add rust-windows-x86-64-gnu-0.48., guix-commits, 2023/07/10
- 53/379: gnu: Add rust-windows-x86-64-gnullvm-0.48., guix-commits, 2023/07/10
- 55/379: gnu: Add rust-x86-0.52., guix-commits, 2023/07/10
- 57/379: gnu: Add rust-termimad-0.20., guix-commits, 2023/07/10