summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-05 17:36:09 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-06 15:45:59 +0300
commit94c715e613c7c9a7ede9f960c63002664f2a0db9 (patch)
tree7b8061549379698160d25da4f9848dc0ed2cb958
parent701eaebc6666ae40f0d284b2b8e377fee2553d9b (diff)
downloadguix-94c715e613c7c9a7ede9f960c63002664f2a0db9.tar.gz
gnu: Add rust-memmap-0.6.
* gnu/packages/crates-io.scm (rust-memmap@0.6): New variable.
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5683c177df..d01f6a03df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1229,6 +1229,26 @@ file IO.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-memmap-0.6
+  (package
+    (inherit rust-memmap)
+    (name "rust-memmap")
+    (version "0.6.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "memmap" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "1zy6s0ni0lx9rjzq3gq2zz9r8zgjmbp02332g3gsj4fyhv4s5zz2"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc)
+        ("rust-winapi" ,rust-winapi))
+       #:cargo-development-inputs
+       (("rust-tempdir" ,rust-tempdir))))))
+
 (define-public rust-mime
   (package
     (name "rust-mime")