summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-13 22:02:08 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:09 +0200
commit5d183b9fe80cf22e0f9636e68ffd2176f93f7eab (patch)
treee83994c30d1e3371d2264323c428ff75ba0a5669
parent73dd517dfc4b025fd826301bd5113511d5bb8358 (diff)
gnu: Add rust-memchr-1.0.
* gnu/packages/crates-io.scm (rust-memchr-1.0): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 52b9429a50..1ada30afec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1831,6 +1831,21 @@ whether an expression matches a pattern.")
(description "Safe interface to memchr.")
(license (list license:expat license:unlicense))))
+(define-public rust-memchr-1.0
+ (package
+ (inherit rust-memchr-2.2)
+ (name "rust-memchr")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "memchr" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0yjyja34pzhipdl855q3m21w1lyih4lw79x2dp3czwdla4pap3ql"))))))
+
(define-public rust-memmap-0.7
(package
(name "rust-memmap")