guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/61: gnu: Add rust-atoi-0.4.


From: guix-commits
Subject: 01/61: gnu: Add rust-atoi-0.4.
Date: Thu, 28 Mar 2024 12:00:54 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 172214b56e6257beb1be2df273f59d30493959d6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 27 13:14:11 2024 +0200

    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 b76aa54384..132643ec37 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5726,6 +5726,22 @@ methods.")
     (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]