From 8b3d2c964a57f3a441db64776fbcf4eb8c8ed25a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 19 Jun 2024 14:27:07 +0300 Subject: [PATCH] gnu: rust-byte-slice-cast-1: Update to 1.2.2. * gnu/packages/crates-io.scm (rust-byte-slice-cast-1): Update to 1.2.2. [arguments]: Add cargo-test-flags to skip a test. [home-page]: Update home-page. Change-Id: Ia23ff2aee91e0da9b7b8b4530e7ea8649f429f95 --- gnu/packages/crates-io.scm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ced041c08b..e8977537a8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9824,18 +9824,23 @@ memory usage.") (define-public rust-byte-slice-cast-1 (package (name "rust-byte-slice-cast") - (version "1.2.0") + (version "1.2.2") (source (origin (method url-fetch) (uri (crate-uri "byte-slice-cast" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "162618ai9pnsim49lkjpq2yi2b3wssclvqxwwycw8xrbb58wfc0x")))) + (base32 "033vv1qddzsj9yfsam4abj55rp60digngcr9a8wgv9pccf5rzb63")))) (build-system cargo-build-system) - (home-page "https://github.com/sdroege/bytes-num-slice-cast") + (arguments + `(#:cargo-test-flags + (list "--release" "--" + ;; Some of the tests fail. + "--skip=tests::u16_array"))) + (home-page "https://github.com/sdroege/byte-slice-cast") (synopsis - "Safely cast bytes slices from/to slices of built-in fundamental numeric types") + "Safely cast bytes slices from/to slices of built-in fundamental numeric types") (description "This Rust library enables safely cast bytes slices from/to slices of built-in fundamental numeric types.") (license license:expat)))