From f9d91171b1ee9178eea6d04cac23d514b1619f98 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 Jan 2025 10:14:31 +0200 Subject: [PATCH] gnu: Add rust-spinning-0.1. * gnu/packages/crates-io.scm (rust-spinning-0.1): New variable. Change-Id: I349ad5f8ec9f966757b6496bbdafeccc803ec425 --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 @@ (define-public rust-spin-sleep-1 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")