summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 20:31:55 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:38 +0200
commit864ce516ac6357c3b29aeecf1cef900ffac7e8e2 (patch)
treedd556811f23604a4a9dafd048eaea148ef357b9c /gnu
parentd4e9927c856f6cc9bee7130589e2f10aaf87619c (diff)
downloadguix-864ce516ac6357c3b29aeecf1cef900ffac7e8e2.tar.gz
gnu: Add rust-pest-derive-2.1.
* gnu/packages/crates-io.scm (rust-pest-derive-2.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 95d09a4bca..d9a31919dc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4947,6 +4947,30 @@ algorithm.")
     (description "The Elegant Parser.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-pest-derive-2.1
+  (package
+    (name "rust-pest-derive")
+    (version "2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pest_derive" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1l5jfa6ril71cw5nsiw0r45br54dd8cj2r1nc2d1wq6wb3jilgc3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-pest" ,rust-pest-2.1)
+        ("rust-pest-generator" ,rust-pest-generator-2.1))))
+    (home-page "https://pest.rs/")
+    (synopsis "Pest's derive macro")
+    (description "Pest's derive macro.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-pest-generator-2.1
   (package
     (name "rust-pest-generator")