diff mbox series

[bug#67515,21/91] gnu: Add rust-spinning-0.1.

Message ID DU2P193MB213277B6F30B6A5169F24968F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
State New
Headers show
Series [bug#67515,01/91] gnu: Add blueprint-compiler-next. | expand

Commit Message

Sergio Pastor PĂ©rez Nov. 28, 2023, 9:11 p.m. UTC
* 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 mbox series

Patch

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")