summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-07-06 18:45:59 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-07-06 21:54:02 +0300
commitc857320a0eae1077a7567db675d137f0e05f19b8 (patch)
tree7e0766a2a320199523983822906dac5bf173b335
parent12c5d9bb44b91a14c69324b8e4f93bdda79d7aaa (diff)
downloadguix-c857320a0eae1077a7567db675d137f0e05f19b8.tar.gz
gnu: Add rust-peg-0.5.
* gnu/packages/crates-io.scm (rust-peg-0.5): New variable.
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e1e70d1fc4..5146ae78ad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15972,6 +15972,24 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}.
 in Rust.")
     (license license:expat)))
 
+(define-public rust-peg-0.5
+  (package
+    (inherit rust-peg-0.6)
+    (name "rust-peg")
+    (version "0.5.7")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "peg" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "11az3bs3ngvfip920xfr0zwblfkyg6cjgz1v9hmfsdnqw7fi5ps0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-quote" ,rust-quote-0.3))))))
+
 (define-public rust-peg-macros-0.6
   (package
     (name "rust-peg-macros")