summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 19:56:50 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:35 +0200
commit1ac58b8297d4439b25f5da4811baaf6f92c6d93e (patch)
tree80e54f6394bb6a1267f88c243160648f66247a99
parent4eea286c28179dc48de26860b121c3537ec96829 (diff)
downloadguix-1ac58b8297d4439b25f5da4811baaf6f92c6d93e.tar.gz
gnu: Add rust-pest-2.1.
* gnu/packages/crates-io.scm (rust-pest-2.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
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 @@ algorithm.")
     (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")