Subject: [bug#53315] [PATCH 010/150] gnu: rust-cpufeatures-0.1: Inherit from rust-cpufeatures-0.2.

From: Aleksandr Vityazev <[email-masked]>
Date: Mon, 17 Jan 2022 13:06:54 +0000

* gnu/packages/crates-io.scm (rust-cpufeatures-0.1): Inherit from rust-cpufeatures-0.2.
---
 gnu/packages/crates-io.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 44b4286054..53b25f4507 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11892,6 +11892,7 @@ (define-public rust-cpufeatures-0.2
 
 (define-public rust-cpufeatures-0.1
   (package
+    (inherit rust-cpufeatures-0.2)
     (name "rust-cpufeatures")
     (version "0.1.4")
     (source
@@ -11901,17 +11902,10 @@ (define-public rust-cpufeatures-0.1
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1j0i97325c2grndsfgnm3lqk0xbyvdl2dbgn8i5dd9yhnmycc07d"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #: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
-     "Cpufeatures is a lightweight and efficient no-std compatible alternative
-to the @code{is_x86_feature_detected!} macro.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-libc" ,rust-libc-0.2))))))
 
 (define-public rust-cpuid-bool-0.1
   (package
-- 
2.34.0

-- 

Aleksandr Vityazev