From 4b29abf218fe2ee536f7b6ce311c0286ee61932f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Oct 2023 20:56:54 +0300 Subject: [PATCH] gnu: rust-rstar-0.9: Update to 0.9.3. * gnu/packages/crates-io.scm (rust-rstar-0.9): Update to 0.9.3. [arguments]: Add cargo-test-flags to only test the library. [cargo-inputs]: Replace rust-heapless-0.6 with 0.7. Remove rust-pdqselect-0.1. Change-Id: Ia036ee6de1e117fd9ca2aaa159ebee8e7d2489d9 --- gnu/packages/crates-io.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 30ab64b819..1abb10920b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -61294,22 +61294,21 @@ (define-public rust-rspotify-model-0.11 (define-public rust-rstar-0.9 (package (name "rust-rstar") - (version "0.9.0") + (version "0.9.3") (source (origin (method url-fetch) (uri (crate-uri "rstar" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1bdby74j2h7rizs6p81xxilnjsi6w1z2xx2vigaw2gkj5cvlp3km")))) + (base32 "1yi5dbwayig107d3x7xmmx1yqxagnwl9qsg6cfy49aydbbz1n3xl")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-heapless" ,rust-heapless-0.6) + `(#:cargo-test-flags + '("--release" "--lib") + #:cargo-inputs + (("rust-heapless" ,rust-heapless-0.7) ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-pdqselect" ,rust-pdqselect-0.1) ("rust-serde" ,rust-serde-1) ("rust-smallvec" ,rust-smallvec-1)) #:cargo-development-inputs