diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-10-06 21:38:59 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-11-03 23:00:53 +0100 |
commit | 6393bf60272c1f34b2cd6a9172aac27af37d3cdf (patch) | |
tree | c5b2eb078e09b358729bdf00032c8504cd676b45 | |
parent | 8608e1e1b411ebd4f4b1101a6e5da5fcaa279643 (diff) | |
download | guix-6393bf60272c1f34b2cd6a9172aac27af37d3cdf.tar.gz |
gnu: Add rust-lexical-parse-float-0.8.
* gnu/packages/crates-io.scm (rust-lexical-parse-float-0.8): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ea0e3ee393..2062da7970 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25373,6 +25373,30 @@ sending emails from Rust applications.") ("rust-quickcheck" ,rust-quickcheck-0.8) ("rust-rustc-version" ,rust-rustc-version-0.2)))))) +(define-public rust-lexical-parse-float-0.8 + (package + (name "rust-lexical-parse-float") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "lexical-parse-float" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03mzjx8k2jzv2vbl1xb589p9zfs5i2m23vcmm6fjsxps0k86dl5l")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-lexical-parse-integer" ,rust-lexical-parse-integer-0.8) + ("rust-lexical-util" ,rust-lexical-util-0.8) + ("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/Alexhuszagh/rust-lexical") + (synopsis "Efficient parsing of floats from strings") + (description + "This crate provides efficient parsing of floats from strings.") + (license (list license:expat license:asl2.0)))) + (define-public rust-lexical-parse-integer-0.8 (package (name "rust-lexical-parse-integer") |