From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WBdeKCVYrGXa9gAAqHPOHw:P1 (envelope-from ) for ; Sun, 21 Jan 2024 00:32:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WBdeKCVYrGXa9gAAqHPOHw (envelope-from ) for ; Sun, 21 Jan 2024 00:32:53 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector1 header.b=sUJx5ZqY; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705793573; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XH9rjVccfR9MJguGXjHGkNlNdMwRzLd1sMjMdNyvdv4=; b=K9fDapDPGItR/6gtyqHUTwrdwgo3mDQA5N4uFCm6AtjQMwWrDt9hiHOf3iiAZ76I079trf cZL096n+Pf819AQSCmjEULAIuKeiU17jijKrTFY9fzK7+5LFsBx7yQcRp2lJrj6/w8SroC qz82X3ZicWb08h1BUVDMvhBhN2W6fRHSEmAGt+mzmkd2D+nR3C+I3yAS1KME7A/OVxdjxO LZ+vcXS+rRdT5jBZ6rrP3WURVrrxcxovghpr50vboHVZxrPplsgnsidB/Ecot6TP1AwR9a EO7Bm4aweaBFoiYGk385mO8srn/pXD4YXx6JMlMcDMnHcKgftPXXFOwqX7456Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector1 header.b=sUJx5ZqY; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705793573; a=rsa-sha256; cv=none; b=cYoMrO1zhOgVn20T5038MYF/NM8yzJdjIcTSb+a8lexf0MhWL6IrNqpdHRDgD8HGjnjNH1 Cx7cghOCsFVX9HLudVbRxvS0F+qeV91+aiktdeeRWOI4NSbjvwblmPf7vqnwEGhbd9Ox+L FFBTGv6SGdCcKbI0om9D5XqpNw0BtrDTLdqV1uHPqaac0Nj5naxigl8B2tovmFnRkpRBqe gpqfEZGQFN1Nc99ZPdNGyodHinSYTHSrXGSzMsFpnSMiA8OOPWAUfWhSikD9pCCQGS9vch XR6YxM6f48LuqdnA+haiJcployR/cfO22mnRHL1Z5NxzW4I9+jv9MlWmhSfZog== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 91A83272A2 for ; Sun, 21 Jan 2024 00:32:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRKol-0007Ms-Me; Sat, 20 Jan 2024 18:32:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRKoh-0007LP-UD for guix-patches@gnu.org; Sat, 20 Jan 2024 18:31:59 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rRKoh-0006Z7-La for guix-patches@gnu.org; Sat, 20 Jan 2024 18:31:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRKok-0006LV-Nb; Sat, 20 Jan 2024 18:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68623] [PATCH 2/6] gnu: Add rust-spin-sleep-1. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 20 Jan 2024 23:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68623 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68623@debbugs.gnu.org Cc: Jaeme Sifat , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68623-submit@debbugs.gnu.org id=B68623.170579350324321 (code B ref 68623); Sat, 20 Jan 2024 23:32:02 +0000 Received: (at 68623) by debbugs.gnu.org; 20 Jan 2024 23:31:43 +0000 Received: from localhost ([127.0.0.1]:36119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKoQ-0006K3-VO for submit@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:43 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:49732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKoN-0006JP-PB for 68623@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:40 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rRKoE-009Q9F-NB for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:30 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector1; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=XH9rjVccfR9MJguGXjHGkNlNdMwRzLd1sMjMdNyvdv4=; b=sUJx5ZqY5SaXQeFJq0BCcDkZJL CQXtAAcGSazzuYKoYuYACgSOnT7f6Dwc0NKB/7XWXPsOidtROpg99m37Xac+Xlcnwxxgt1kC8Wft9 qlJSe8n9/VoREsh8AAuwkI03/zjD0sn+lohSQd5tHUHlqmiyR72gjHur/+PRaWTztpj59eXY1KhE9 hH7vMElLGP/QF7xcOJhrTPL6jzKKQgusnyH8eOkD3VRjuNbso5Rnh2sIvcYeEwTnVcRxOt0SuaOVF BR5hN+s73cApSr3mfmrJJK+FTRWHCTctE6Khk+ILzaIGkFQRBc6o973HTzV7i2/iRaFMrSO6FB9MB ndCYj/bA==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rRKoE-0003a0-EN for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:30 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rRKnu-008qt9-1r; Sun, 21 Jan 2024 00:31:10 +0100 Date: Sat, 20 Jan 2024 18:30:21 -0500 Message-ID: <4c2a6f7ede2155ff122c5d83e11b47691ea9bd7e.1705792641.git.jaeme@runbox.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches From: Jaeme Sifat via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.78 X-Spam-Score: -6.78 X-Migadu-Queue-Id: 91A83272A2 X-Migadu-Scanner: mx12.migadu.com X-TUID: bDJ467QUfvrn * 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