diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-03 10:23:51 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-18 11:36:09 +0300 |
commit | acdbec6f4d73843a6f3df62e036eaa58dada620b (patch) | |
tree | 40ee9dacee18441fe038eb1151208ffc04160513 | |
parent | 830b2f1470b905ed1a3eaa3c5af34a6325bc618f (diff) | |
download | guix-acdbec6f4d73843a6f3df62e036eaa58dada620b.tar.gz |
gnu: Add rust-lexical-5.
* gnu/packages/crates-io.scm (rust-lexical-5): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
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") |