From patchwork Sat Apr 27 12:35:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 63454 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 D395327BBE2; Sat, 27 Apr 2024 13:56:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 721FF27BBE9 for ; Sat, 27 Apr 2024 13:56:32 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0hbQ-0001cE-KF; Sat, 27 Apr 2024 08:56:28 -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 1s0hbP-0001c2-T2 for guix-patches@gnu.org; Sat, 27 Apr 2024 08:56:27 -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 1s0hbP-0003EU-KV for guix-patches@gnu.org; Sat, 27 Apr 2024 08:56:27 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s0hbh-00084i-Tf; Sat, 27 Apr 2024 08:56:45 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70606] [PATCH rust-team 044/101] gnu: Place rust-nanorand-0.7 in alphabetical order. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 27 Apr 2024 12:56:44 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70606 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70606@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 70606-submit@debbugs.gnu.org id=B70606.171422257530620 (code B ref 70606); Sat, 27 Apr 2024 12:56:44 +0000 Received: (at 70606) by debbugs.gnu.org; 27 Apr 2024 12:56:15 +0000 Received: from localhost ([127.0.0.1]:39361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0hb5-0007wX-E4 for submit@debbugs.gnu.org; Sat, 27 Apr 2024 08:56:14 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:53565 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0hJk-0004FX-40 for 70606@debbugs.gnu.org; Sat, 27 Apr 2024 08:38:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714221410; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4VKqicGcOj5h/FQGA/n+VfsR8dSRlyj6AksQdzh1HHo=; b=REM9uwzenBwiaCu5VCjS8v5+cOC1bz4/0ju8K4CyeQy0g3nMTkMPisascj9xcGrfHSeAPS BG7K/klB8wQpVMyTsL4RHuFdpZaI2r/PNM8HQundjuxLZrxR8N6l6ibi1rjdsUqqfzB2Hy s0eFfLqj3YRQU+ztDy4ZXRry+SdGS+vS/oFNM4D1lGa/qCNZVuuReHvMHxv5Pcu8k48NxY rEV6PtUL9goCKE8l0MzpXUl1AqNId3UUUWDGX1vS13+4KcBPsooDKYRwCR6tkamsCQ3jTP /nwUq4D3/3z6TM2qLEfcgeD2Iab5vcqnsj7N5Y2//hXo1XmJDNpRpsORYMg8pA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 77e55bb9 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <70606@debbugs.gnu.org>; Sat, 27 Apr 2024 12:36:50 +0000 (UTC) Date: Sat, 27 Apr 2024 14:35:06 +0200 Message-ID: <2bed07ba2d0a820a95c831ff29fa1b2437ae53dd.1714220244.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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-nanorand-0.7, rust-nanorand-0.5, rust-nanorand-0.4, rust-nasm-rs-0.2): Move variables. Change-Id: I1f41e034a77a19eb16736f09f05b444715a4902b --- gnu/packages/crates-io.scm | 182 ++++++++++++++++++------------------- 1 file changed, 87 insertions(+), 95 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9c34aebd9a..d166c81b35 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -43364,101 +43364,6 @@ (define-public rust-mysqlclient-sys-0.2 libmysqlclient.") (license (list license:expat license:asl2.0)))) -(define-public rust-nanorand-0.7 - (package - (name "rust-nanorand") - (version "0.7.0") - (source (origin - (method url-fetch) - (uri (crate-uri "nanorand" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1hr60b8zlfy7mxjcwx2wfmhpkx7vfr3v9x12shmv1c10b0y32lba")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-getrandom" ,rust-getrandom-0.2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex" ,rust-hex-0.4)))) - (home-page "https://github.com/Absolucy/nanorand-rs") - (synopsis "Tiny, fast, zero-dep library for random number generation") - (description - "This library is meant for fast, random number generation with -quick compile time, and minimal dependencies.") - (license license:zlib))) - -(define-public rust-nanorand-0.5 - (package - (inherit rust-nanorand-0.7) - (name "rust-nanorand") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "nanorand" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ryi6jdfsfij4di33f269099g7m32rlr7sv7j4pklnjcj2xxfwri")))) - (arguments - `(#:skip-build? #true ;error with pre-release randomize - #:cargo-inputs - (("rust-getrandom" ,rust-getrandom-0.2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-fastrand" ,rust-fastrand-1) - ("rust-hex" ,rust-hex-0.4) - ("rust-random-fast-rng" ,rust-random-fast-rng-0.1) - ("rust-randomize" ,rust-randomize-4)))))) - -(define-public rust-nanorand-0.4 - (package - (inherit rust-nanorand-0.5) - (name "rust-nanorand") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "nanorand" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ifpjgir1a6lw64jkb6la5hb8j5jvqq70nmxgzjj0cjf13jd3kys")))) - (arguments - `(#:skip-build? #true ;error with pre-release randomize - #:cargo-inputs - (("rust-getrandom" ,rust-getrandom-0.2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-fastrand" ,rust-fastrand-1) - ("rust-hex" ,rust-hex-0.4) - ("rust-random-fast-rng" ,rust-random-fast-rng-0.1) - ("rust-randomize" ,rust-randomize-4)))))) - -(define-public rust-nasm-rs-0.2 - (package - (name "rust-nasm-rs") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nasm-rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1lgc3gg32hj4pcbfp07vzwy013smdm27469fyy4rqgyil3x46vx7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-arrayvec" ,rust-arrayvec-0.5) - ("rust-rayon" ,rust-rayon-1)))) - (home-page "https://github.com/medek/nasm-rs") - (synopsis "Run NASM during your Cargo build") - (description "Run NASM during your Cargo build.") - (license (list license:expat license:asl2.0)))) - (define-public rust-nalgebra-0.32 (package (name "rust-nalgebra") @@ -43863,6 +43768,73 @@ (define-public rust-nalgebra-macros-0.1 (("rust-nalgebra" ,rust-nalgebra-0.26) ("rust-trybuild" ,rust-trybuild-1)))))) +(define-public rust-nanorand-0.7 + (package + (name "rust-nanorand") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nanorand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hr60b8zlfy7mxjcwx2wfmhpkx7vfr3v9x12shmv1c10b0y32lba")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex" ,rust-hex-0.4)))) + (home-page "https://github.com/Absolucy/nanorand-rs") + (synopsis "Tiny, fast, zero-dep library for random number generation") + (description + "This library is meant for fast, random number generation with +quick compile time, and minimal dependencies.") + (license license:zlib))) + +(define-public rust-nanorand-0.5 + (package + (inherit rust-nanorand-0.7) + (name "rust-nanorand") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "nanorand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ryi6jdfsfij4di33f269099g7m32rlr7sv7j4pklnjcj2xxfwri")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-fastrand" ,rust-fastrand-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-random-fast-rng" ,rust-random-fast-rng-0.1) + ("rust-randomize" ,rust-randomize-4)))))) + +(define-public rust-nanorand-0.4 + (package + (inherit rust-nanorand-0.5) + (name "rust-nanorand") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "nanorand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ifpjgir1a6lw64jkb6la5hb8j5jvqq70nmxgzjj0cjf13jd3kys")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-fastrand" ,rust-fastrand-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-random-fast-rng" ,rust-random-fast-rng-0.1) + ("rust-randomize" ,rust-randomize-4)))))) + (define-public rust-napi-2 (package (name "rust-napi") @@ -43992,6 +43964,26 @@ (define-public rust-napi-sys-2 (description "This package provides a NodeJS N-API raw binding.") (license license:expat))) +(define-public rust-nasm-rs-0.2 + (package + (name "rust-nasm-rs") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nasm-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lgc3gg32hj4pcbfp07vzwy013smdm27469fyy4rqgyil3x46vx7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) + ("rust-rayon" ,rust-rayon-1)))) + (home-page "https://github.com/medek/nasm-rs") + (synopsis "Run NASM during your Cargo build") + (description "Run NASM during your Cargo build.") + (license (list license:expat license:asl2.0)))) + (define-public rust-natord-1 (package (name "rust-natord")