From b8c45b9798bc0a96a11f00c18cffc570120b5657 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 1 Nov 2023 21:30:19 +0200 Subject: [PATCH] gnu: rust-assert-fs-1: Update to 1.0.13. * gnu/packages/crates-io.scm (rust-assert-fs-1): Update to 1.0.13. [arguments]: Add cargo-test-flags. [cargo-inputs]: Add rust-anystream-0.3, rust-anstyle-1. Replace rust-predicates-2 with 3. Remove rust-colcolor-0.0.8, rust-yansi-0.5. Change-Id: I46369c5682ddb349ef5ced37a75470bb3c8f2301 --- gnu/packages/crates-io.scm | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0593c579d2..5ce03546dc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5198,25 +5198,30 @@ (define-public rust-assert-cmd-0.9 (define-public rust-assert-fs-1 (package (name "rust-assert-fs") - (version "1.0.7") + (version "1.0.13") (source (origin (method url-fetch) (uri (crate-uri "assert-fs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gm1xsxmv1s8810kbjiw4rnikqi76a3yhrb8b717g90dw1rbn2fg")))) + (base32 "0j2vhxyb12ng6knln2bckywp5yqqxqhdd3gf0rfyvhp5d1x62w7h")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-concolor" ,rust-concolor-0.0.8) + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=assert::test::into_path_from_bytes" + "--skip=assert::test::into_path_from_str") + #:cargo-inputs + (("rust-anstream" ,rust-anstream-0.3) + ("rust-anstyle" ,rust-anstyle-1) ("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-globwalk" ,rust-globwalk-0.8) - ("rust-predicates" ,rust-predicates-2) + ("rust-predicates" ,rust-predicates-3) ("rust-predicates-core" ,rust-predicates-core-1) ("rust-predicates-tree" ,rust-predicates-tree-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-yansi" ,rust-yansi-0.5)))) + ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/assert-rs/assert_fs") (synopsis "Filesystem fixtures and assertions for testing") (description