From a4b2968b9485609e2a218f51363d0f72c5315a91 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 13 Jun 2021 00:12:51 +0200 Subject: [PATCH] gnu: Add rust-memmap2-0.3. * gnu/packages/crates-io.scm (rust-memmap2-0.3): New variable. (rust-memmap2-0.1): Inherit from above. --- gnu/packages/crates-io.scm | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6686f417a9..0e8785876f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24439,17 +24439,17 @@ (define-public rust-memmap-0.2 #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3)))))) -(define-public rust-memmap2-0.1 +(define-public rust-memmap2-0.3 (package (name "rust-memmap2") - (version "0.1.0") + (version "0.3.0") (source (origin (method url-fetch) (uri (crate-uri "memmap2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nmymqy9q62x577ydja0ysfyir7h5qa0n5fwcnvchfhhlsi0rdyr")))) + (base32 "1xcg3vv6rg8vhl0wdfy085gx4xsp2dah7anvn5816h6wgczj1zr0")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -24460,6 +24460,19 @@ (define-public rust-memmap2-0.1 (description "This package provides a Rust API for memory-mapped file IO.") (license (list license:expat license:asl2.0)))) +(define-public rust-memmap2-0.1 + (package + (inherit rust-memmap2-0.3) + (name "rust-memmap2") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "memmap2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nmymqy9q62x577ydja0ysfyir7h5qa0n5fwcnvchfhhlsi0rdyr")))))) + (define-public rust-memoffset-0.6 (package (name "rust-memoffset")