unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Zheng Junjie <873216071@qq.com>
To: 48956@debbugs.gnu.org
Cc: Zheng junjie <873216071@qq.com>
Subject: [bug#48956] [PATCH 16/58] gnu: Add rust-memmap2-0.2.
Date: Fri, 11 Jun 2021 21:30:23 +0800	[thread overview]
Message-ID: <tencent_1A4F5F27A29CA744AD367873241524EBE405@qq.com> (raw)
In-Reply-To: <87o8cc6369.fsf@qq.com>

From: Zheng junjie <873216071@qq.com>

* gnu/packages/crates-io.scm (rust-memmap2-0.2): New variable.
(rust-memmap2-0.1): inherit from above.
---
 gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++-----
 1 file changed, 26 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 715297f9cb..9ecaf94fcc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24660,27 +24660,48 @@ file IO.")
        #:cargo-development-inputs
        (("rust-tempdir" ,rust-tempdir-0.3))))))
 
-(define-public rust-memmap2-0.1
+(define-public rust-memmap2-0.2
   (package
     (name "rust-memmap2")
-    (version "0.1.0")
+    (version "0.2.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "memmap2" version))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0nmymqy9q62x577ydja0ysfyir7h5qa0n5fwcnvchfhhlsi0rdyr"))))
+        (base32
+         "1vjf35vzg5368b7c0qh3pimikivc286xb8gy6glj60aas2vy6fz7"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-libc" ,rust-libc-0.2))))
+       (("rust-libc" ,rust-libc-0.2))
+       #:cargo-development-inputs
+       (("rust-tempdir" ,rust-tempdir-0.3))))
     (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-memmap2-0.1
+  (package
+    (inherit rust-memmap2-0.2)
+    (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"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2))))))
+
 (define-public rust-memoffset-0.6
   (package
     (name "rust-memoffset")
-- 
2.32.0





  parent reply	other threads:[~2021-06-11 13:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87o8cc6369.fsf@qq.com>
2021-06-11 11:39 ` [bug#48956] [PATCH] Add rust-analyzer Z572
2021-06-13 17:16   ` bug#48956: " Nicolas Goaziou
2021-06-11 11:44 ` [bug#48956] [PATCH 01/58] gnu: Add rust-always-assert-0.1 Zheng Junjie
2021-06-11 13:23 ` [bug#48956] [PATCH 53/58] gnu: rust-mio-0.7: Update to 0.7.11 Zheng Junjie
2021-06-11 13:30 ` Zheng Junjie [this message]
2021-06-11 13:33 ` [bug#48956] [PATCH 36/58] gnu: Add rust-randomize-3 Zheng Junjie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_1A4F5F27A29CA744AD367873241524EBE405@qq.com \
    --to=873216071@qq.com \
    --cc=48956@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).