From patchwork Wed Mar 19 01:18:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 40399 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5F81327BBEB; Wed, 19 Mar 2025 01:28:05 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 023B727BBEA for ; Wed, 19 Mar 2025 01:28:05 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tuiCI-0003EG-Hz; Tue, 18 Mar 2025 21:26:18 -0400 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 1tuiCF-0003C7-SO for guix-patches@gnu.org; Tue, 18 Mar 2025 21:26:16 -0400 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 1tuiCF-0003Xy-IN for guix-patches@gnu.org; Tue, 18 Mar 2025 21:26:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=/gsua9Q94FwqAdkIWAQpXny9BYafG9Aunv4Kf49t3tE=; b=u1P6iXjOJKi0ZRyMcvVtUm5X89TkearY199xUn37Jwmo6RdYYoNzvFqlXsUjPTOMx0OzCtxkFO0GVmZ14tStH7erZX/BNAdUYCGL49mPSuQyqhp5XMNd2/cebGEJUApD7w6YuvzqT+trdGFJpvrG9xjnbDKX6ub/HD/nsytqsypfA5Sof3+IRHeUHxW6MKhWzLuETchsE2Q0tjNgepi8BYzF8Qd7KXzstMOcqtbYq4eAFr2lSgKJRg5qI4Q8bRBT6B/PFFoUy/PYiOm+VMZAdZN9d01XRLcaVpnXeuBVIJIApg38oGBPPV4X6PZ9ZRD68JW9NIE40bOKVG6TjZVafA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tuiCF-0002Ku-Ad; Tue, 18 Mar 2025 21:26:15 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74743] [PATCH rust-team v2 30/68] gnu: rust-rand-0.9: New variable. Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net, guix-patches@gnu.org Resent-Date: Wed, 19 Mar 2025 01:26:15 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74743 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74743@debbugs.gnu.org Cc: Aaron Covrig , divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net X-Debbugs-Original-Xcc: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net Received: via spool by 74743-submit@debbugs.gnu.org id=B74743.17423475268376 (code B ref 74743); Wed, 19 Mar 2025 01:26:15 +0000 Received: (at 74743) by debbugs.gnu.org; 19 Mar 2025 01:25:26 +0000 Received: from localhost ([127.0.0.1]:44478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tuiBQ-0002A9-BB for submit@debbugs.gnu.org; Tue, 18 Mar 2025 21:25:26 -0400 Received: from mail-qv1-xf33.google.com ([2607:f8b0:4864:20::f33]:60474) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tui8R-0001cj-CV for 74743@debbugs.gnu.org; Tue, 18 Mar 2025 21:22:21 -0400 Received: by mail-qv1-xf33.google.com with SMTP id 6a1803df08f44-6e6c082eac0so56559506d6.0 for <74743@debbugs.gnu.org>; Tue, 18 Mar 2025 18:22:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1742347333; x=1742952133; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/gsua9Q94FwqAdkIWAQpXny9BYafG9Aunv4Kf49t3tE=; b=RGmyUXEGwfKKYEV92tSvmmn+7oaLJSJMdkEEZqF/WVNB7JHYRbsdomSjO+jOEonQT9 w9VJIpAZ2fEfFnpLYjhcNNh8oEgAa0MRX4G3MxdWbfS3hpmyE9dWkNTxsMrwW9Oj294V BWtHAohq8cKe2HA84UraWnctZMiaKUW8/1VzA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742347333; x=1742952133; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/gsua9Q94FwqAdkIWAQpXny9BYafG9Aunv4Kf49t3tE=; b=LgC3O1HFaZHTOs169kQvh/RdN2FyO8Mp2NYqy3j0mO8UJO811vyfYkca54X0t0KSv4 eRHxLORLOIyiRpWFUCo7KJQbF4IAWmdjNT+n+EPSwzzaRvH1yG1YsRWz/p3sZj65xfIH SpCxhb3NDzQn2HOLbC6Y/b+e1e7o6kWn45nLHwp530heVjcvGkrULQUCx0wR6DABDncS RvRgQw/U0MiBdMrQSJ5xgGLOfRrt0goNgK7XQR5JS6Gv605tN5N5ErTfRtyfY16WIC7O /K3EwVa6DqaUPrgMSZJuWTKjy0lgnjiUgSE48UporxA+aK83mQQpXaRb3ewX1naScGdY bzng== X-Gm-Message-State: AOJu0Yx94oQNSDSMXqynaxZy2BRX1AB4E634l9xs7vOHegBbiwe7JpE7 Lit8+mvC/6eYWI173V/l2KQ16xWPYMluHrIoP3z9IMoNUid71apZWwD9EDQSgNaG4bvLKc98JKy lcgEqnu+hj+Km8/sGMhhetOPUD3dw4dHsaj8xfSZQ3cXoXPkThzS0Y8EWr8LztIsitL+vzTup/1 JIb9nqs3HqtE0rm8XE8xQ9IPcuNMQAjcN42gmFVJg= X-Gm-Gg: ASbGnctFeZgY0guLSVBZCzpq/R3dq4dOv0QP20bIW5Ec2SU1r/cASsQkNLrkSKWuahP /e755MqfQ/U+OfFG9hs1APR2GlalnmiXycV/WHLP6ofToCzB4SvLFMUCSPj74Ry2KbRBszT1MER jOmJmSzcoodAIaQ/PatkLdHMYRXwYt96UrvLixccrGQMsrlU3Xr+0t0OQKiYI5ozSAUNB5BxLAL gmeq21PgP4ffx1cTVwzGDrqFk/M09osxBtWj3WnPHiyoBc16JqT0Wa1lq63CpKlbdspJGmriorg 0L8Fx/T/5rjxWVRatv6rJa5mAalyzNodb6xcpELrAYDxcHNS7VWadyc= X-Google-Smtp-Source: AGHT+IFC1ZlluPY6f6BBrk+uHe7vQ+DYvUAMUJpI8JvvTNpqmyoslZw4TRyYTOZpaackUlzsjwMpaA== X-Received: by 2002:ad4:5d65:0:b0:6e6:6a6e:7596 with SMTP id 6a1803df08f44-6eb29421af9mr14420256d6.39.1742347333112; Tue, 18 Mar 2025 18:22:13 -0700 (PDT) Received: from mobile-dev.lan ([73.172.106.204]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6eade209335sm74210866d6.22.2025.03.18.18.22.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Mar 2025 18:22:12 -0700 (PDT) Date: Tue, 18 Mar 2025 21:18:48 -0400 Message-ID: <20250319011932.1899508-31-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250319011932.1899508-1-aaron.covrig.us@ieee.org> References: <20250319011932.1899508-1-aaron.covrig.us@ieee.org> MIME-Version: 1.0 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: Aaron Covrig X-ACL-Warn: , Aaron Covrig via Guix-patches X-Patchwork-Original-From: Aaron Covrig via Guix-patches via From: Aaron Covrig Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-rand-0.9): New variable. Signed-off-by: Aaron Covrig --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1f399d2314..e692db34bc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -62246,8 +62246,39 @@ (define-public rust-railroad-verification-0.1 @code{railroad}.") (license license:expat))) +(define-public rust-rand-0.9 + (package + (name "rust-rand") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "156dyvsfa6fjnv6nx5vzczay1scy5183dvjchd7bvs47xd5bjy9p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-rand-chacha" ,rust-rand-chacha-0.9) + ("rust-rand-core" ,rust-rand-core-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-zerocopy" ,rust-zerocopy-0.8)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-rand-pcg" ,rust-rand-pcg-0.9) + ("rust-rand-pcg" ,rust-rayon-1)))) + (home-page "https://rust-random.github.io/book") + (synopsis "Random number generators and other randomness functionality") + (description + "Rand provides utilities to generate random numbers, to convert them to +useful types and distributions, and some randomness-related algorithms.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rand-0.8 (package + (inherit rust-rand-0.9) (name "rust-rand") (version "0.8.5") (source @@ -62257,7 +62288,6 @@ (define-public rust-rand-0.8 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "013l6931nn7gkc23jz5mm3qdhf93jjf0fg64nz2lp4i51qd8vbrl")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) @@ -62268,13 +62298,7 @@ (define-public rust-rand-0.8 ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) - ("rust-rand-pcg" ,rust-rand-pcg-0.3)))) - (home-page "https://crates.io/crates/rand") - (synopsis "Random number generators and other randomness functionality") - (description - "Rand provides utilities to generate random numbers, to convert them to -useful types and distributions, and some randomness-related algorithms.") - (license (list license:expat license:asl2.0)))) + ("rust-rand-pcg" ,rust-rand-pcg-0.3)))))) (define-public rust-rand-0.7 (package