diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2022-01-07 15:14:15 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-19 14:04:44 +0100 |
commit | c1bfaacc220a023827e672e47c8f5bd98a7fcf25 (patch) | |
tree | fa64f198884ac4f1a6f3c1eab360d0ffd3919071 /gnu | |
parent | 09351a8f9f023edf034e044d075e32cbb6088cce (diff) | |
download | guix-c1bfaacc220a023827e672e47c8f5bd98a7fcf25.tar.gz guix-c1bfaacc220a023827e672e47c8f5bd98a7fcf25.zip |
gnu: Add rust-cpufeatures-0.2.
* gnu/packages/crates-io.scm (rust-cpufeatures-0.2): New variable.
(rust-cpufeatures-0.1): Inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b4680eb374..30bebed85c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11943,22 +11943,19 @@ intrinsics.") (("rust-clap" ,rust-clap-2) ("rust-diff" ,rust-diff-0.1)))))) -(define-public rust-cpufeatures-0.1 +(define-public rust-cpufeatures-0.2 (package (name "rust-cpufeatures") - (version "0.1.4") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "cpufeatures" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1j0i97325c2grndsfgnm3lqk0xbyvdl2dbgn8i5dd9yhnmycc07d")))) + (base32 "0sgllzsvs8hinylaiigmd9c908gd8wclxnqz8dinpxbdyql981cm")))) (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2)))) + (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/RustCrypto/utils") (synopsis "Alternative to the @code{is_x86_feature_detected!} macro") (description @@ -11966,6 +11963,19 @@ intrinsics.") to the @code{is_x86_feature_detected!} macro.") (license (list license:expat license:asl2.0)))) +(define-public rust-cpufeatures-0.1 + (package + (inherit rust-cpufeatures-0.2) + (name "rust-cpufeatures") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "cpufeatures" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j0i97325c2grndsfgnm3lqk0xbyvdl2dbgn8i5dd9yhnmycc07d")))))) + (define-public rust-cpuid-bool-0.1 (package (name "rust-cpuid-bool") |