From e64eae64e1500aefbda3471612603792c5b4e07f Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 4 Nov 2023 22:39:19 +0200 Subject: [PATCH] gnu: rust-ufmt-0.1: Update to 0.1.2. * gnu/packages/crates-io.scm (rust-ufmt-0.1): Update to 0.1.2. [arguments]: Add cargo-test-flags. [cargo-inputs]: Replace rust-ufmt-macros-0.1 with 0.2. [home-page]: Update to new home-page. Change-Id: I62b7edb40504061696cd114eb1b7ab8d1a1acdb0 --- gnu/packages/crates-io.scm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bfb3c0c988..b119f84ca1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -82336,7 +82336,7 @@ (define-public rust-uds-windows-0.1 (define-public rust-ufmt-0.1 (package (name "rust-ufmt") - (version "0.1.0") + (version "0.1.2") (source (origin (method url-fetch) @@ -82344,14 +82344,16 @@ (define-public rust-ufmt-0.1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1844qwbmc4m69nfi6xmdcdf4fmjjvypi9rpfg3wgilvrxykwwzif")))) + "1pbc0gcfi7m21ly00x460pv1k2h12zb184f7wpcckpqj6g3c1lri")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:cargo-test-flags + '("--release" "--lib" "--bins" "--tests") + #:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) - ("rust-ufmt-macros" ,rust-ufmt-macros-0.1) + ("rust-ufmt-macros" ,rust-ufmt-macros-0.2) ("rust-ufmt-write" ,rust-ufmt-write-0.1)))) - (home-page "https://crates.io/crates/ufmt") + (home-page "https://github.com/japaric/ufmt") (synopsis "Faster and panic-free alternative to @code{core::fmt}") (description "This package provides a (6-40x) smaller, (2-9x) faster and panic-free alternative to @code{core::fmt}.")