guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/41: gnu: Add rust-memmap-0.6.


From: guix-commits
Subject: 15/41: gnu: Add rust-memmap-0.6.
Date: Fri, 6 Sep 2019 08:47:27 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 94c715e613c7c9a7ede9f960c63002664f2a0db9
Author: Efraim Flashner <address@hidden>
Date:   Thu Sep 5 17:36:09 2019 +0300

    gnu: Add rust-memmap-0.6.
    
    * gnu/packages/crates-io.scm (rust-memmap@0.6): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5683c17..d01f6a0 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]