me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-nom-4.2.

* gnu/packages/crates-io.scm (rust-nom-4.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
John Soo 2019-12-15 09:18:30 -08:00 committed by Efraim Flashner
parent f01b62db99
commit cf47457707
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 34 additions and 0 deletions

View File

@ -4736,6 +4736,40 @@ implementation (which is unstable / requires nightly).")
(license (list license:asl2.0
license:expat))))
(define-public rust-nom-4.2
(package
(name "rust-nom")
(version "4.2.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "nom" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1mkvby8b4m61p4g1px0pwr58yfkphyp1jcfbp4qfp7l6iqdaklia"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-lazy-static" ,rust-lazy-static-1.3)
("rust-lexical-core" ,rust-lexical-core-0.4)
("rust-memchr" ,rust-memchr-2.2)
("rust-regex" ,rust-regex-1.1))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.2)
("rust-doc-comment" ,rust-doc-comment-0.3)
("rust-jemallocator" ,rust-jemallocator-0.3)
("rust-version-check" ,rust-version-check-0.9))))
(home-page "https://github.com/Geal/nom")
(synopsis
"Byte-oriented, zero-copy, parser combinators library")
(description
"This package provides a byte-oriented, zero-copy, parser
combinators library.")
(license license:expat)))
(define-public rust-num-complex-0.2
(package
(name "rust-num-complex")