gnu: Add rust-pest-generator-2.1.

* gnu/packages/crates-io.scm (rust-pest-generator-2.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
John Soo 2019-12-14 20:30:26 -08:00 committed by Efraim Flashner
parent e514384efa
commit 6db6226222
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4947,6 +4947,33 @@ (define-public rust-pest-2.1
(description "The Elegant Parser.")
(license (list license:asl2.0 license:expat))))
(define-public rust-pest-generator-2.1
(package
(name "rust-pest-generator")
(version "2.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "pest_generator" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0ipnv77lqhj4d4fpfxi8m168lcjp482kszaknlardmpgqiv0a4k3"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-pest" ,rust-pest-2.1)
("rust-pest-meta" ,rust-pest-meta-2.1)
("rust-proc-macro2" ,rust-proc-macro2-0.4)
("rust-quote" ,rust-quote-1.0)
("rust-syn" ,rust-syn-0.15))))
(home-page "https://pest.rs/")
(synopsis "Pest code generator")
(description "Pest code generator.")
(license (list license:asl2.0 license:expat))))
(define-public rust-pest-meta-2.1
(package
(name "rust-pest-meta")