From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 68623@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#68623] [PATCH 2/6] gnu: Add rust-spin-sleep-1.
Date: Sat, 20 Jan 2024 18:30:21 -0500 [thread overview]
Message-ID: <4c2a6f7ede2155ff122c5d83e11b47691ea9bd7e.1705792641.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1705792641.git.jaeme@runbox.com>
* gnu/packages/crates-io.scm (rust-spin-sleep-1): New variable.
Change-Id: Ic8616daadbbb797627fcfa79a3bfd9d196557a24
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f40f9dc9fa..e25dbdbd8c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69642,6 +69642,29 @@ (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-spin-sleep-1
+ (package
+ (name "rust-spin-sleep")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "spin_sleep" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zrllbf1ksc6srjgbslk2fn5c9fp5f1rrrw2n0301xza9639g2in"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.52))
+ #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5))))
+ (home-page "https://github.com/alexheretic/spin-sleep")
+ (synopsis "Accurate sleeping and spinning")
+ (description
+ "This library adds a middle ground, using a configurable native accuracy setting
+allowing @code{thread::sleep} to wait the bulk of a sleep time, and spin the final
+section to guarantee accuracy.")
+ (license license:asl2.0)))
+
(define-public rust-spinning-top-0.2
(package
(name "rust-spinning-top")
--
2.41.0
next prev parent reply other threads:[~2024-01-20 23:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-20 23:18 [bug#68623] [PATCH 0/6 rust-team] gnu: Add swww Jaeme Sifat via Guix-patches via
2024-01-20 23:30 ` [bug#68623] [PATCH 1/6] gnu: Add rust-keyframe-1 Jaeme Sifat via Guix-patches via
2024-01-20 23:30 ` Jaeme Sifat via Guix-patches via [this message]
2024-01-20 23:30 ` [bug#68623] [PATCH 3/6] gnu: Add rust-sd-notify-0.4 Jaeme Sifat via Guix-patches via
2024-01-20 23:30 ` [bug#68623] [PATCH 4/6] gnu: Add rust-resize-0.7 Jaeme Sifat via Guix-patches via
2024-01-20 23:30 ` [bug#68623] [PATCH 5/6] gnu: Add rust-fast-image-resize-2 Jaeme Sifat via Guix-patches via
2024-01-20 23:30 ` [bug#68623] [PATCH 6/6] gnu: Add swww Jaeme Sifat via Guix-patches via
2024-01-23 14:36 ` bug#68623: [PATCH 0/6 rust-team] " Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4c2a6f7ede2155ff122c5d83e11b47691ea9bd7e.1705792641.git.jaeme@runbox.com \
--to=guix-patches@gnu.org \
--cc=68623@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=jaeme@runbox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).