From 1ac58b8297d4439b25f5da4811baaf6f92c6d93e Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 19:56:50 -0800 Subject: [PATCH] gnu: Add rust-pest-2.1. * gnu/packages/crates-io.scm (rust-pest-2.1): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a11b418f96..a310758a17 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4676,6 +4676,31 @@ (define-public rust-permutohedron-0.2 (license (list license:asl2.0 license:expat)))) +(define-public rust-pest-2.1 + (package + (name "rust-pest") + (version "2.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pest" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "134686mwxm73asbiads53zfchqvvcrsrsyax2cghfcizmvg8ac4k")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-serde" ,rust-serde-1.0) + ("rust-serde-json" ,rust-serde-json-1.0) + ("rust-ucd-trie" ,rust-ucd-trie-0.1)))) + (home-page "https://pest.rs/") + (synopsis "The Elegant Parser") + (description "The Elegant Parser.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-petgraph-0.4 (package (name "rust-petgraph")