summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-29 23:37:47 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-31 09:50:41 +0100
commitcf8c49f7c4b53b5a2960e4188aaac878773888de (patch)
tree19bdf6cb10e8072c8142d254824708f8c4c8bc00
parentb3de00f574be95397698887d7fcbdf11a77e6d01 (diff)
downloadguix-cf8c49f7c4b53b5a2960e4188aaac878773888de.tar.gz
gnu: Add rust-memmap2-0.1.
* gnu/packages/crates-io.scm (rust-memmap2-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 548cd7d967..c83bdffe54 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19656,6 +19656,27 @@ file IO.")
        #:cargo-development-inputs
        (("rust-tempdir" ,rust-tempdir-0.3))))))
 
+(define-public rust-memmap2-0.1
+  (package
+    (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"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/RazrFalcon/memmap2-rs")
+    (synopsis "Cross-platform Rust API for memory-mapped file IO")
+    (description "This package provides a Rust API for memory-mapped file IO.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-memoffset-0.6
   (package
     (name "rust-memoffset")