From c86c807ae5ba84d3fa3211ccce6e297963bf8a20 Mon Sep 17 00:00:00 2001 From: Jaeme Sifat Date: Mon, 30 Oct 2023 22:52:28 -0400 Subject: [PATCH] gnu: rust-vergen-3: Update to 3.2.0. * gnu/packages/crates-io.scm (rust-vergen-3): Update to 3.2.0. [arguments]: Don't skip the build. Add cargo-test-flags. [cargo-inputs]: Add rust-rustc-version-0.4. [cargo-development-inputs]: Add rust-lazy-static-1, rust-regex-1. Change-Id: Iec57a593c9d7015210eb44e74644e15c028615e9 Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f16c3fbf07..81b66b890c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -86674,21 +86674,23 @@ (define-public rust-vergen-3 (package (inherit rust-vergen-7) (name "rust-vergen") - (version "3.1.0") + (version "3.2.0") (source - (origin - (method url-fetch) - (uri (crate-uri "vergen" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jrr0wihm9si98qz8ghjfnalfvmfv8rqvkgj2npqa7yzjs4hvrac")))) + (origin + (method url-fetch) + (uri (crate-uri "vergen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0npi6z9daviwhbay1pj5gasw680bmq6s5y6my4cqk77hb921w577")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-bitflags" ,rust-bitflags-1)))))) + `(#:cargo-test-flags `("--release" + ;; Not the doc tests. + "--lib" "--bins" "--tests") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-rustc-version" ,rust-rustc-version-0.4)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1)))))) (define-public rust-version-check-0.9 (package