gnu: Add rust-dtoa-short-0.3.
* gnu/packages/crates-io.scm (rust-dtoa-short-0.3): New variable.master
parent
ee7ef9cb8c
commit
2d6fa18399
|
@ -4239,6 +4239,31 @@ floating-point primitives to an @code{io::Write}.")
|
|||
(base32
|
||||
"0g96cap6si1g6wi62hsdk2fnj3sf5vd4i97zj6163j8hhnsl3n0d"))))))
|
||||
|
||||
(define-public rust-dtoa-short-0.3
|
||||
(package
|
||||
(name "rust-dtoa-short")
|
||||
(version "0.3.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "dtoa-short" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1wkn7ziqffq8hj0a411lgn7674ackzdk734ikp230rmp2f2hn0jr"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-dtoa" ,rust-dtoa-0.4))
|
||||
#:cargo-development-inputs
|
||||
(("rust-float-cmp" ,rust-float-cmp-0.3))))
|
||||
(home-page "https://github.com/upsuper/dtoa-short")
|
||||
(synopsis "Serialize float number and truncate to certain precision")
|
||||
(description
|
||||
"Serialize float number and truncate to certain precision in Rust.")
|
||||
(license license:mpl2.0)))
|
||||
|
||||
(define-public rust-duct-0.13
|
||||
(package
|
||||
(name "rust-duct")
|
||||
|
|
Reference in New Issue