all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phodina via Guix-patches via <guix-patches@gnu.org>
To: "51724@debbugs.gnu.org" <51724@debbugs.gnu.org>
Subject: [bug#51724] [PATCH 11/12] gnu: Add rust-tokio-1.8.
Date: Tue, 09 Nov 2021 17:04:08 +0000	[thread overview]
Message-ID: <SrBvn6NMpxOX93ZKVB-gHOW6MfC9aGV3728WnDhngugruenos2vdTWT80wZLBr30yEDBMi0uycwL4bP4jfcQjAkvr0ow6ZYY9D17yi_09yM=@protonmail.com> (raw)
In-Reply-To: <SlN3KJkyNBy551ZHggo4D4FbN0JHJ6j4VDcAx7sZIIfbX3f07Q0ODbxjPd9B757czVrtk7c1rVo3CM0a7Rdj9V7jRscdDTd-2dvDXW7l2eA=@protonmail.com>

* gnu/packages/crates-io.scm (rust-tokio-1.8): New variable.
  (rust-tokio-1): Inherit from above.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a2150c155d..159043d657 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53186,10 +53186,10 @@ (define-public rust-titlecase-1
 Fireball''.")
     (license license:expat)))

-(define-public rust-tokio-1
+(define-public rust-tokio-1.8
   (package
     (name "rust-tokio")
-    (version "1.2.0")
+    (version "1.8.0")
     (source
      (origin
        (method url-fetch)
@@ -53197,13 +53197,12 @@ (define-public rust-tokio-1
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0fmfykdp29hjq5264mp6sa4c0wp5mlimbi0dd9mrxsk5qq20s6g8"))))
+         "1m18rs51wz6s7dwdwzr0j63kh815x4dx9k0f2c485crs7fqjw32p"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-autocfg" ,rust-autocfg-1)
-        ("rust-bytes" ,rust-bytes-1)
+       (("rust-bytes" ,rust-bytes-1)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-memchr" ,rust-memchr-2)
         ("rust-mio" ,rust-mio-0.7)
@@ -53214,7 +53213,16 @@ (define-public rust-tokio-1
         ("rust-signal-hook-registry" ,rust-signal-hook-registry-1)
         ("rust-tokio-macros" ,rust-tokio-macros-1)
         ("rust-tracing" ,rust-tracing-0.1)
-        ("rust-winapi" ,rust-winapi-0.3))))
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-async-stream" ,rust-async-stream-0.3)
+        ("rust-autocfg" ,rust-autocfg-1)
+        ("rust-nix" ,rust-nix-0.19)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-proptest" ,rust-proptest-1)
+        ("rust-sokcet2-0.4" ,rust-socket2-0.4)
+        ("rust-tokio-stream" ,rust-tokio-stream-0.1)
+        ("rust-tokio-test" ,rust-tokio-test-0.4))))
     (home-page "https://tokio.rs")
     (synopsis "Event-driven, non-blocking I/O platform")
     (description
@@ -53222,6 +53230,36 @@ (define-public rust-tokio-1
 writing asynchronous I/O backed applications.")
     (license license:expat)))

+(define-public rust-tokio-1
+  (package
+    (inherit rust-tokio-1.8)
+    (name "rust-tokio")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tokio" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0fmfykdp29hjq5264mp6sa4c0wp5mlimbi0dd9mrxsk5qq20s6g8"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-autocfg" ,rust-autocfg-1)
+        ("rust-bytes" ,rust-bytes-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-memchr" ,rust-memchr-2)
+        ("rust-mio" ,rust-mio-0.7)
+        ("rust-num-cpus" ,rust-num-cpus-1)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-parking-lot" ,rust-parking-lot-0.11)
+        ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+        ("rust-signal-hook-registry" ,rust-signal-hook-registry-1)
+        ("rust-tokio-macros" ,rust-tokio-macros-1)
+        ("rust-tracing" ,rust-tracing-0.1)
+        ("rust-winapi" ,rust-winapi-0.3))))))
+
 (define-public rust-tokio-0.3
   (package
     (inherit rust-tokio-1)
--
2.33.1




  parent reply	other threads:[~2021-11-09 17:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-09 16:46 [bug#51724] [PATCH 01/12] gnu: Add rust-lifeguard-0.6 phodina via Guix-patches via
2021-11-09 16:58 ` [bug#51724] [PATCH 02/12] gnu: Add rust-psl-types-2 phodina via Guix-patches via
2021-11-09 16:59 ` [bug#51724] [PATCH 03/12] gnu: Add rust-psl-2 phodina via Guix-patches via
2021-11-09 17:00 ` [bug#51724] [PATCH 04/12] gnu: Add rust-publicsuffix-2 phodina via Guix-patches via
2021-11-09 17:00 ` [bug#51724] [PATCH 05/12] gnu: Add rust-no-std-net-0.5 phodina via Guix-patches via
2021-11-09 17:01 ` [bug#51724] [PATCH 06/12] gnu: Add rust-addr-0.14 phodina via Guix-patches via
2021-11-09 17:02 ` [bug#51724] [PATCH 07/12] gnu: rust-rmp-serde: Update to 0.15.5 phodina via Guix-patches via
2021-11-09 17:02 ` [bug#51724] [PATCH 08/12] gnu: Add rust-twoway-0.2 phodina via Guix-patches via
2021-11-09 17:03 ` [bug#51724] [PATCH 09/12] gnu: Add rust-rmp-serde-0.13 phodina via Guix-patches via
2021-11-09 17:03 ` [bug#51724] [PATCH 10/12] gnu: Add rust-selectors-0.21 phodina via Guix-patches via
2021-11-09 17:04 ` phodina via Guix-patches via [this message]
2021-11-09 17:04 ` [bug#51724] [PATCH 12/12] gnu: Add rust-adblock-0.4 phodina via Guix-patches via
2021-11-15 17:22 ` [bug#51724] [PATCH 01/12] gnu: Add rust-lifeguard-0.6 Nicolas Goaziou

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

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

  git send-email \
    --in-reply-to='SrBvn6NMpxOX93ZKVB-gHOW6MfC9aGV3728WnDhngugruenos2vdTWT80wZLBr30yEDBMi0uycwL4bP4jfcQjAkvr0ow6ZYY9D17yi_09yM=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=51724@debbugs.gnu.org \
    --cc=phodina@protonmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.