summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng Junjie <873216071@qq.com>2021-06-13 17:57:53 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-13 19:14:03 +0200
commit5e549fb8eded94ba04b958f5b8616e01a13091fe (patch)
tree4a7b0e6ca4b0b3ee1aa57dd631c6d34f3795729d /gnu/packages
parent751aa90ee4cc7fc24a1e67eb5897a4af87a60034 (diff)
gnu: Add rust-memmap2-0.2.
* gnu/packages/crates-io.scm (rust-memmap2-0.2): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-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 5470190671..1d9a8852e9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24676,6 +24676,21 @@ file IO.")
(description "This package provides a Rust API for memory-mapped file IO.")
(license (list license:expat license:asl2.0))))
+(define-public rust-memmap2-0.2
+ (package
+ (inherit rust-memmap2-0.3)
+ (name "rust-memmap2")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "memmap2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1d26q3sh0z5dvwpilqqvq5bqi7vqfd2kc5gk3pdj7h65rnykwgkj"))))))
+
(define-public rust-memmap2-0.1
(package
(inherit rust-memmap2-0.3)