From 3421a0a97c59f495353e6427698bcc4b34a1e987 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 15 Jun 2021 12:47:22 +0200 Subject: [PATCH] gnu: Add rust-fast-float-0.2. * gnu/packages/crates-io.scm (rust-fast-float-0.2): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 16306ef600..ed1b60d462 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15220,6 +15220,27 @@ implement features such as look-around and backtracking, which are not supported in purely NFA-based implementations.") (license license:expat))) +(define-public rust-fast-float-0.2 + (package + (name "rust-fast-float") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fast-float" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g7kfll3xyh99kc7r352lhljnwvgayxxa6saifb6725inikmyxlm")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/aldanor/fast-float-rust") + (synopsis "Fast floating-point number parser.") + (description + "This crate provides a fast decimal number parser from strings into +floats.") + (license (list license:expat license:asl2.0)))) + (define-public rust-fastrand-1 (package (name "rust-fastrand")