guix-commits
[Top][All Lists]
Advanced

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

82/156: gnu: Add rust-btoi-0.4.


From: guix-commits
Subject: 82/156: gnu: Add rust-btoi-0.4.
Date: Tue, 24 Oct 2023 08:52:35 -0400 (EDT)

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

commit 83e867563af3b7a860b80f0cc292c6aa4f750149
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 09:10:39 2023 +0300

    gnu: Add rust-btoi-0.4.
    
    * gnu/packages/crates-io.scm (rust-btoi-0.4): New variable.
    
    Change-Id: I90da4c2686b110b877a6dc9cea9af6ee38982fc7
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c6d75175f1..748efeafe4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9731,6 +9731,29 @@ UTF-8.")
         ("rust-ucd-parse" ,rust-ucd-parse-0.1)
         ("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))))
 
+(define-public rust-btoi-0.4
+  (package
+    (name "rust-btoi")
+    (version "0.4.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "btoi" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1bg02zgsv5njbhng9sq2b70przbazsczjbla5lbbdf59fdzl1mlx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-num-traits" ,rust-num-traits-0.2))
+       #:cargo-development-inputs
+       (("rust-bencher" ,rust-bencher-0.1)
+        ("rust-quickcheck" ,rust-quickcheck-1))))
+    (home-page "https://github.com/niklasf/rust-btoi";)
+    (synopsis "Parse integers directly from ASCII byte slices")
+    (description "Parse integers directly from ASCII byte slices.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-buf-min-0.7
   (package
     (name "rust-buf-min")



reply via email to

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