From 9da236fcfb788812fb56aa8bc103f0635e73f637 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 27 Mar 2024 13:14:11 +0200 Subject: [PATCH] gnu: Add rust-atoi-0.4. * gnu/packages/crates-io.scm (rust-atoi-0.4): New variable. Change-Id: Iea8610c6c8222bba866d0751504b25bb07a6d313 --- gnu/packages/crates-io.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 38cb72a69d..ba3136ed71 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5747,6 +5747,22 @@ (define-public rust-atoi-2 (description "Parse integers directly from `[u8]` slices in safe code.") (license license:expat))) +(define-public rust-atoi-0.4 + (package + (inherit rust-atoi-2) + (name "rust-atoi") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "atoi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19fdm7gxwp98y67ghyis841vy5ka7hc1afm9cfa69qn0bzh9cs31")))) + (arguments + `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))))) + (define-public rust-atoi-simd-0.15 (package (name "rust-atoi-simd")