me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-lexical-core-0.8.

* gnu/packages/crates-io.scm (rust-lexical-core-0.8): New variable.
(rust-lexical-core-0.7): Inherit from above.
master
Nicolas Goaziou 2021-10-06 21:40:20 +02:00
parent 6393bf6027
commit 2eb523a389
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 29 additions and 9 deletions

View File

@ -25311,8 +25311,36 @@ requires non-const function calls to be computed.")
sending emails from Rust applications.") sending emails from Rust applications.")
(license license:expat))) (license license:expat)))
(define-public rust-lexical-core-0.8
(package
(name "rust-lexical-core")
(version "0.8.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "lexical-core" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1152ll9xa7v4jz2mjvz0048gy32yg39mzgjaps89h0any7c2cfba"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-lexical-parse-float" ,rust-lexical-parse-float-0.8)
("rust-lexical-parse-integer" ,rust-lexical-parse-integer-0.8)
("rust-lexical-util" ,rust-lexical-util-0.8)
("rust-lexical-write-float" ,rust-lexical-write-float-0.8)
("rust-lexical-write-integer" ,rust-lexical-write-integer-0.8))))
(home-page
"https://github.com/Alexhuszagh/rust-lexical/tree/master/lexical-core")
(synopsis "Lexical, to- and from-string conversion routines")
(description
"This crate provides lexical, to- and from-string conversion routines.")
(license (list license:expat license:asl2.0))))
(define-public rust-lexical-core-0.7 (define-public rust-lexical-core-0.7
(package (package
(inherit rust-lexical-core-0.8)
(name "rust-lexical-core") (name "rust-lexical-core")
(version "0.7.6") (version "0.7.6")
(source (source
@ -25323,7 +25351,6 @@ sending emails from Rust applications.")
(string-append name "-" version ".tar.gz")) (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1zjzab1fnaw4kj6ixyrskp4dyz761gdcab07m4bkvlk1l4mcc1v6")))) (base32 "1zjzab1fnaw4kj6ixyrskp4dyz761gdcab07m4bkvlk1l4mcc1v6"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-arrayvec" ,rust-arrayvec-0.5) (("rust-arrayvec" ,rust-arrayvec-0.5)
@ -25336,14 +25363,7 @@ sending emails from Rust applications.")
#:cargo-development-inputs #:cargo-development-inputs
(("rust-approx" ,rust-approx-0.4) (("rust-approx" ,rust-approx-0.4)
("rust-proptest" ,rust-proptest-0.10) ("rust-proptest" ,rust-proptest-0.10)
("rust-quickcheck" ,rust-quickcheck-1)))) ("rust-quickcheck" ,rust-quickcheck-1))))))
(home-page
"https://github.com/Alexhuszagh/rust-lexical/tree/master/lexical-core")
(synopsis
"Lexical, to- and from-string conversion routines")
(description
"Lexical, to- and from-string conversion routines.")
(license (list license:expat license:asl2.0))))
(define-public rust-lexical-core-0.4 (define-public rust-lexical-core-0.4
(package (package