From 29787b45f01be9580c705112ff91e861c6c4fc3c Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 25 Jul 2022 23:52:37 +0200 Subject: [PATCH] gnu: rust-wide: Add 0.7.4. * gnu/packages/crates-io.scm (rust-wide-0.7): New variable. (rust-wide-0.6, rust-wide-0.4): Inherit from it. --- gnu/packages/crates-io.scm | 72 ++++++++++++++++++++++++-------------- 1 file changed, 46 insertions(+), 26 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e7fb388ef0..ad9052c1a1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -71042,8 +71042,53 @@ (define-public rust-whoami-0.8 environment.") (license (list license:expat license:boost1.0)))) +(define-public rust-wide-0.7 + (package + (name "rust-wide") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "wide" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0psw31mh21cn4w7i0klsz7law8p8iddsqir8x35cf6n3vb8s5axk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytemuck" ,rust-bytemuck-1) + ("rust-safe-arch" ,rust-safe-arch-0.6)))) + (home-page "https://github.com/Lokathor/wide") + (synopsis "Rust for wide blocks") + (description "This crate has data types for blocks of primitives packed +together and used as a single unit. This works very well with SIMD/vector +hardware of various targets. Both in terms of explicit SIMD usage and also in +terms of allowing LLVM's auto-vectorizer to do its job.") + (license (list license:zlib license:asl2.0 license:expat)))) + +(define-public rust-wide-0.6 + (package + (inherit rust-wide-0.7) + (name "rust-wide") + (version "0.6.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "wide" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16yqf8xsvns21clg3rk8nljq4qnsfqg240smbjqa0z520k3fgfs6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytemuck" ,rust-bytemuck-1) + ("rust-safe-arch" ,rust-safe-arch-0.5)))))) + (define-public rust-wide-0.4 (package + (inherit rust-wide-0.6) (name "rust-wide") (version "0.4.6") (source @@ -71059,32 +71104,7 @@ (define-public rust-wide-0.4 (arguments `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1)))) - (home-page "https://github.com/Lokathor/wide") - (synopsis "Rust for wide blocks") - (description "This crate has data types for blocks of primitives packed -together and used as a single unit. This works very well with SIMD/vector -hardware of various targets. Both in terms of explicit SIMD usage and also in -terms of allowing LLVM's auto-vectorizer to do its job.") - (license license:zlib))) - -(define-public rust-wide-0.6 - (package - (inherit rust-wide-0.4) - (name "rust-wide") - (version "0.6.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "wide" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "16yqf8xsvns21clg3rk8nljq4qnsfqg240smbjqa0z520k3fgfs6")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bytemuck" ,rust-bytemuck-1) - ("rust-safe-arch" ,rust-safe-arch-0.5)))) - (license (list license:zlib license:asl2.0 license:expat)))) + (license (list license:zlib)))) (define-public rust-widestring-0.4 (package