summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 12:07:41 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:21 +0200
commit1ded43545ec54d614eeba1c952ae650280d880fa (patch)
treecb41bd445cfa85d6bb15699294a1dab1a04b9a5e /gnu
parent113e9f160388179cd7ec736e166c7e0dcaf18664 (diff)
gnu: Add rust-memmap2-0.8.
* gnu/packages/crates-io.scm (rust-memmap2-0.8): New variable. Change-Id: I1f33251995f69f9601f0ff5322bf31e635558d7d
Diffstat (limited to 'gnu')
-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 2f3ce2a6c2..ba837b0214 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39890,6 +39890,24 @@ file IO.")
"This package provides a Rust API for memory-mapped file IO.")
(license (list license:expat license:asl2.0))))
+(define-public rust-memmap2-0.8
+ (package
+ (inherit rust-memmap2-0.9)
+ (name "rust-memmap2")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "memmap2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vf3djv9s917fbvw5vclllpl22g12iph6cz11gn57ndhxwya19a3"))))
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))
+ #:cargo-development-inputs (("rust-owning-ref" ,rust-owning-ref-0.4)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-memmap2-0.7
(package
(inherit rust-memmap2-0.9)