diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2025-01-15 10:14:31 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-15 14:27:42 +0200 |
commit | f9d91171b1ee9178eea6d04cac23d514b1619f98 (patch) | |
tree | 67fc0e4f2b30fc8235c1847a346969d6037f8b38 | |
parent | b361689e5d3143fbdb26069744c444676a9e1453 (diff) |
gnu: Add rust-spinning-0.1.
* gnu/packages/crates-io.scm (rust-spinning-0.1): New variable.
Change-Id: I349ad5f8ec9f966757b6496bbdafeccc803ec425
-rw-r--r-- | gnu/packages/crates-io.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e4abaf7761..d6baadbc1e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -74549,6 +74549,26 @@ allowing @code{thread::sleep} to wait the bulk of a sleep time, and spin the fin section to guarantee accuracy.") (license license:asl2.0))) +(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 + "This package provides 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") |