gnu: Add rust-lexical-5.

* gnu/packages/crates-io.scm (rust-lexical-5): New variable.
This commit is contained in:
Nicolas Goaziou 2021-06-15 12:46:28 +02:00
parent 7ca17ddda7
commit b853f8674e
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -22971,6 +22971,34 @@ (define-public rust-lexical-core-0.4
("rust-quickcheck" ,rust-quickcheck-0.8)
("rust-rustc-version" ,rust-rustc-version-0.2))))))
(define-public rust-lexical-5
(package
(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"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#: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))))
(home-page "https://github.com/Alexhuszagh/rust-lexical")
(synopsis "Lexical, to- and from-string conversion routines")
(description
"Lexical provides routines to convert numbers to and from decimal
strings.")
(license (list license:expat license:asl2.0))))
(define-public rust-libc-0.2
(package
(name "rust-libc")