From af2e2db944e522c0c0dc3cd8a689e38f5869cadc Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 1 Nov 2023 21:33:35 +0200 Subject: [PATCH] gnu: rust-generator-0.6: Update to 0.6.25. * gnu/packages/crates-io.scm (rust-generator-0.6): Update to 0.6.25. [inherit]: New field. [arguments]: Add cargo-test-flags. [cargo-inputs]: Add rust-rustversion-1. Remove rust-rustc-version-0.2. Change-Id: I90b7487d5a571ed234d3ef0463ed4e59e52de4e1 --- gnu/packages/crates-io.scm | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b87e5a482a..0ff30db31f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28897,29 +28897,27 @@ (define-public rust-generator-0.7 (define-public rust-generator-0.6 (package + (inherit rust-generator-0.7) (name "rust-generator") - (version "0.6.20") + (version "0.6.25") (source (origin (method url-fetch) (uri (crate-uri "generator" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0f07mwkarwrqrykhkzqpvfnd5crz20dd8l24psn01kiqzc71dana")))) - (build-system cargo-build-system) + "1ik62cj1gm0lmj3xpksz2zn9jybcjszq5l9vz9b9sizcmzhkn786")))) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) + `(#:cargo-test-flags + (list "--release" "--" + "--skip=test_scope_yield_from_send") + #:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-cc" ,rust-cc-1) - ("rust-rustc-version" ,rust-rustc-version-0.2)))) - (home-page "https://github.com/Xudong-Huang/generator-rs") - (synopsis "Stackfull Generator Library in Rust") - (description "Stackfull Generator Library in Rust.") - (license (list license:asl2.0 license:expat)))) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-generic-array-0.14 (package