gnu: Add rust-peg-0.8.
* gnu/packages/crates-io.scm (rust-peg-0.8): New variable. (rust-peg-0.6): Inherit from rust-peg-0.8. Change-Id: I9a88d159f2d6ac9cc4e622462c367959129463c3
This commit is contained in:
parent
c30fa8b0df
commit
892f3a3268
@ -44289,27 +44289,23 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}.
|
||||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
|
||||
(define-public rust-peg-0.6
|
||||
(define-public rust-peg-0.8
|
||||
(package
|
||||
(name "rust-peg")
|
||||
(version "0.6.2")
|
||||
(version "0.8.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "peg" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"15rfp12dgsynplphp443zfw47m2d5snvdm6a25gz48dv2if8fxch"))))
|
||||
(base32 "0qbgchzj0ajpgmasbxk65lqx9fwvxda21k6pifzqmhqrsavwl2s0"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f
|
||||
#:cargo-inputs
|
||||
(("rust-peg-macros" ,rust-peg-macros-0.6)
|
||||
("rust-peg-runtime" ,rust-peg-runtime-0.6))
|
||||
#:cargo-development-inputs
|
||||
(("rust-trybuild" ,rust-trybuild-1))))
|
||||
`(#:cargo-inputs (("rust-peg-macros" ,rust-peg-macros-0.8)
|
||||
("rust-peg-runtime" ,rust-peg-runtime-0.8))
|
||||
#:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)
|
||||
("rust-version-check" ,rust-version-check-0.9))))
|
||||
(home-page "https://github.com/kevinmehall/rust-peg")
|
||||
(synopsis "Simple Parsing Expression Grammar (PEG) parser generator")
|
||||
(description
|
||||
@ -44317,6 +44313,24 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}.
|
||||
in Rust.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-peg-0.6
|
||||
(package
|
||||
(inherit rust-peg-0.8)
|
||||
(name "rust-peg")
|
||||
(version "0.6.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "peg" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "15rfp12dgsynplphp443zfw47m2d5snvdm6a25gz48dv2if8fxch"))))
|
||||
(arguments
|
||||
`(#:tests? #f
|
||||
#:cargo-inputs (("rust-peg-macros" ,rust-peg-macros-0.6)
|
||||
("rust-peg-runtime" ,rust-peg-runtime-0.6))
|
||||
#:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))))
|
||||
|
||||
(define-public rust-peg-0.5
|
||||
(package
|
||||
(inherit rust-peg-0.6)
|
||||
|
Loading…
x
Reference in New Issue
Block a user