summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-20 14:59:23 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-04 19:29:14 +0100
commit3daf1cc4c6237f02db58438805063f7cfddd8eff (patch)
treeac4462d99192b4146366b2d573ad8dbc410c8409 /gnu/packages
parent8c4afe8b934b2343da13c9c656e2af5e02cf1122 (diff)
gnu: Add rust-spinning-top-0.2.
* gnu/packages/crates-io.scm (rust-spinning-top-0.2): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c97967ec71..d50457ff86 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30396,6 +30396,28 @@ future to wake it up, it continuously polls the future until the future is
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-top-0.2
+ (package
+ (name "rust-spinning-top")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "spinning_top" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dmbb627i05qla1lnxy7r6hpiia76c8kb40zcgrbar0dx1rrslky"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-lock-api" ,rust-lock-api-0.4))))
+ (home-page "https://github.com/rust-osdev/spinning_top")
+ (synopsis "Simple spinlock based on @code{lock_api}")
+ (description
+ "This package provides a simple spinlock crate based on the abstractions
+provided by @code{lock_api}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-spmc-0.3
(package
(name "rust-spmc")