Subject: [PATCH 21/91] gnu: Add rust-spinning-0.1.

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

* gnu/packages/crates-io.scm (rust-spinning-0.1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9f482454bd..2c49f014da 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68109,6 +68109,25 @@ (define-public rust-spin-on-0.1
 ready.  This will probably use a lot of CPU, so be careful when you use it.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-spinning-0.1
+  (package
+    (name "rust-spinning")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "spinning" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0yrs2lzyyrwvs58pya2h22pfdx3vv0h76w1av5c2dbbw5630wkrd"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-lock-api" ,rust-lock-api-0.4))))
+    (home-page "https://github.com/4lDO2/spinning-rs.git")
+    (synopsis "Mutexes and SIX locks implemented by spinning")
+    (description "Mutexes and SIX locks implemented by spinning")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-spinning-top-0.2
   (package
     (name "rust-spinning-top")
-- 
2.41.0