mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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:
parent
49e5c2d93a
commit
f80ddc64c6
1 changed files with 21 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue