summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-22 10:10:56 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-22 14:15:32 +0300
commiteba1524df2275b86ac5d00be3630494e36bdec94 (patch)
treeafe0c8a6a85c9830bdd276d77b711a5115de8418
parent5247f79db6ac80bce4762c5662de6e4fd3ac8f5f (diff)
downloadguix-eba1524df2275b86ac5d00be3630494e36bdec94.tar.gz
gnu: Add rust-regex-syntax-0.4.
* gnu/packages/crates-io.scm (rust-regex-syntax-0.4): New variable.
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b57bb407ca..9d12512967 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18859,6 +18859,25 @@ uses finite automata and guarantees linear time matching on all inputs.")
        #:cargo-inputs
        (("rust-ucd-util" ,rust-ucd-util-0.1))))))
 
+(define-public rust-regex-syntax-0.4
+  (package
+    (inherit rust-regex-syntax-0.6)
+    (name "rust-regex-syntax")
+    (version "0.4.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "regex-syntax" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "03p24bsfg2rw2cc5h8ri4fp7j06xwyyd5grlqy0g11ixp5c1r4wf"))))
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-quickcheck" ,rust-quickcheck-0.6)
+        ("rust-rand" ,rust-rand-0.4))))))
+
 (define-public rust-regex-syntax-0.3
   (package
     (inherit rust-regex-syntax-0.6)