Subject: [bug#67515] [PATCH 55/91] gnu: Add rust-core-affinity-0.8.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:33 +0100

* gnu/packages/crates-io.scm (rust-core-affinity-0.8): New variable.

Change-Id: I84ce578d8b710a6a1d3ddfdb3feeb91a5c363d33
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b904bf0453..3a1279a49d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15754,6 +15754,27 @@ (define-public rust-cordic-0.1
 numbers using the CORDIC method.")
     (license license:bsd-3)))
 
+(define-public rust-core-affinity-0.8
+  (package
+    (name "rust-core-affinity")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "core_affinity" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0113rfzyvjpl1camxnrf92pn9vakhn9zqvgir0wgrqawcgsr4a32"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-num-cpus" ,rust-num-cpus-1)
+                       ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/Elzair/core_affinity_rs")
+    (synopsis "Manages CPU affinities")
+    (description "Manages CPU affinities")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-coreaudio-rs-0.10
   (package
     (name "rust-coreaudio-rs")
-- 
2.41.0