gnu: Add rust-nom-2.

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

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Joseph LaFreniere 2020-11-20 08:27:03 -06:00 committed by Efraim Flashner
parent 49e5c2d93a
commit f80ddc64c6
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -17274,6 +17274,27 @@ (define-public rust-nom-3
("rust-memchr" ,rust-memchr-1.0)
("rust-regex" ,rust-regex-0.2))))))
(define-public rust-nom-2
(package
(inherit rust-nom-4.2)
(name "rust-nom")
(version "2.2.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "nom" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1zv6ig7nw532rl4p35jsahglfhyyznjkblwa6si6c0plxhlsflfg"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-lazy-static" ,rust-lazy-static-0.2)
("rust-regex" ,rust-regex-0.2))
#:tests? #f))))
(define-public rust-nom-1.2
(package
(inherit rust-nom-4.2)