[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/66: gnu: Add rust-array-init-2.
From: |
guix-commits |
Subject: |
37/66: gnu: Add rust-array-init-2. |
Date: |
Tue, 24 Oct 2023 07:54:57 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit bc4196fa909a4b03954124b0fc9a848a68e1ac3a
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 23 23:21:19 2023 +0100
gnu: Add rust-array-init-2.
* gnu/packages/crates-io.scm (rust-array-init-2): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
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 44deebc06f..e7b84b7f4d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4088,6 +4088,26 @@ initializing large arrays (greater than 32 elements), or
arrays of types which
do not implement the copy or default traits.")
(license (list license:expat license:asl2.0))))
+(define-public rust-array-init-2
+ (package
+ (name "rust-array-init")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "array-init" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1z0bh6grrkxlbknq3xyipp42rasngi806y92fiddyb2n99lvfqix"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/Manishearth/array-init/")
+ (synopsis "Safe wrapper for initializing fixed-size arrays")
+ (description
+ "A crate that removes the need to fill an array before running
+initialisers. Provides an init closure that's called for each element of the
+array.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-array-macro-1
(package
(name "rust-array-macro")
- 18/66: gnu: Add rust-oboe-sys-0.4., (continued)
- 18/66: gnu: Add rust-oboe-sys-0.4., guix-commits, 2023/10/24
- 22/66: gnu: Add rust-asio-sys-0.2., guix-commits, 2023/10/24
- 19/66: gnu: Add rust-oboe-0.4., guix-commits, 2023/10/24
- 24/66: gnu: Add rust-jack-0.8., guix-commits, 2023/10/24
- 25/66: gnu: Add rust-hound-3., guix-commits, 2023/10/24
- 26/66: gnu: Add rust-ringbuf-0.2., guix-commits, 2023/10/24
- 27/66: gnu: Add rust-cpal-0.13., guix-commits, 2023/10/24
- 29/66: gnu: Add rust-muldiv-1., guix-commits, 2023/10/24
- 31/66: gnu: Add rust-gstreamer-sys-0.18., guix-commits, 2023/10/24
- 34/66: gnu: Add rust-gstreamer-base-0.18., guix-commits, 2023/10/24
- 37/66: gnu: Add rust-array-init-2.,
guix-commits <=
- 36/66: gnu: Add rust-gstreamer-app-0.18., guix-commits, 2023/10/24
- 39/66: gnu: Add rust-gstreamer-audio-0.18., guix-commits, 2023/10/24
- 42/66: gnu: rust-libpulse-sys-1: Update to 1.21.0., guix-commits, 2023/10/24
- 43/66: gnu: Add rust-libpulse-simple-sys-1., guix-commits, 2023/10/24
- 44/66: gnu: rust-libpulse-binding-2: Update to 2.28.1., guix-commits, 2023/10/24
- 46/66: gnu: Add rust-portaudio-sys-0.1., guix-commits, 2023/10/24
- 48/66: gnu: Add rust-claxon-0.4., guix-commits, 2023/10/24
- 50/66: gnu: Add rust-minimp3-sys-0.3., guix-commits, 2023/10/24
- 21/66: gnu: Add rust-bindgen-0.56., guix-commits, 2023/10/24
- 20/66: gnu: Add rust-stdweb-0.1., guix-commits, 2023/10/24