guix-commits
[Top][All Lists]
Advanced

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

153/276: gnu: Add rust-lexical-5.


From: guix-commits
Subject: 153/276: gnu: Add rust-lexical-5.
Date: Wed, 18 Oct 2023 04:49:51 -0400 (EDT)

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

commit acdbec6f4d73843a6f3df62e036eaa58dada620b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 10:23:51 2023 +0300

    gnu: Add rust-lexical-5.
    
    * gnu/packages/crates-io.scm (rust-lexical-5): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 69d2f693c2..bfb12c021f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35479,6 +35479,34 @@ a no_std environment.  This does not depend on any 
standard library features,
 nor a system allocator.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-lexical-5
+  (package
+    (inherit rust-lexical-6)
+    (name "rust-lexical")
+    (version "5.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lexical" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1r8lsi523h53kbb99xgv31jabwhcp4rzqd4hfazfhcjffh5aj17l"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-lexical-core" ,rust-lexical-core-0.7)
+        ("rust-rand" ,rust-rand-0.4)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-toml" ,rust-toml-0.5))
+       #:cargo-development-inputs
+       (("rust-approx" ,rust-approx-0.4)
+        ("rust-criterion" ,rust-criterion-0.3)
+        ("rust-dtoa" ,rust-dtoa-0.4)
+        ("rust-itoa" ,rust-itoa-0.4)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-ryu" ,rust-ryu-1))))))
+
 (define-public rust-lexiclean-0.0.1
   (package
     (name "rust-lexiclean")



reply via email to

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