unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53094] [PATCH 19/41] gnu: rust-rbw: adding rust-tokio-1.15
@ 2022-01-07 14:13 Nicolas Graves via Guix-patches via
  2022-01-19 13:47 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2022-01-07 14:13 UTC (permalink / raw)
  To: 53094

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0020-rust-rbw-dependencies-adding-rust-tokio-1.15.patch --]
[-- Type: text/x-patch, Size: 2976 bytes --]

From d44faf865224130d75f89de7d1d192dd91ec322c Mon Sep 17 00:00:00 2001
From: Nicolas Graves <ngraves@ngraves.fr>
Date: Fri, 7 Jan 2022 12:11:02 +0100
Subject: [PATCH 20/42] rust-rbw dependencies : adding rust-tokio-1.15

---
 gnu/packages/crates-io.scm | 46 +++++++++++++++++++++++++++++++-------
 1 file changed, 38 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4fa7427ef8..13e707dd75 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57237,8 +57237,45 @@ (define-public rust-titlecase-1
 Fireball''.")
     (license license:expat)))
 
+(define-public rust-tokio-1.15
+  (package
+    (name "rust-tokio")
+    (version "1.15.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "tokio" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0f2qwp9ljc4gf955g7qcksp0jc1bwmzxb2nf6mb7h1n2irvirgzv"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build?
+        #t
+        #:cargo-inputs
+        (("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))))
+    (home-page "https://tokio.rs")
+    (synopsis "Event-driven, non-blocking I/O platform")
+    (description
+     "This package provides an event-driven, non-blocking I/O platform for
+writing asynchronous I/O backed applications.")
+    (license license:expat)))
+
 (define-public rust-tokio-1.8
   (package
+    (inherit rust-tokio-1.15)
     (name "rust-tokio")
     (version "1.8.0")
     (source
@@ -57249,7 +57286,6 @@ (define-public rust-tokio-1.8
        (sha256
         (base32
          "1m18rs51wz6s7dwdwzr0j63kh815x4dx9k0f2c485crs7fqjw32p"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -57273,13 +57309,7 @@ (define-public rust-tokio-1.8
         ("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
-     "This package provides an event-driven, non-blocking I/O platform for
-writing asynchronous I/O backed applications.")
-    (license license:expat)))
+        ("rust-tokio-test" ,rust-tokio-test-0.4))))))
 
 (define-public rust-tokio-1
   (package
-- 
2.34.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#53094] [PATCH 19/41] gnu: rust-rbw: adding rust-tokio-1.15
  2022-01-07 14:13 [bug#53094] [PATCH 19/41] gnu: rust-rbw: adding rust-tokio-1.15 Nicolas Graves via Guix-patches via
@ 2022-01-19 13:47 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2022-01-19 13:47 UTC (permalink / raw)
  To: 53094; +Cc: Nicolas Graves, 53094-done

Hello,

Nicolas Graves via Guix-patches via <guix-patches@gnu.org> writes:

> From d44faf865224130d75f89de7d1d192dd91ec322c Mon Sep 17 00:00:00 2001
> From: Nicolas Graves <ngraves@ngraves.fr>
> Date: Fri, 7 Jan 2022 12:11:02 +0100
> Subject: [PATCH 20/42] rust-rbw dependencies : adding rust-tokio-1.15

Thanks. I dropped it and updated rust-tokio-1 instead.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-19 14:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 14:13 [bug#53094] [PATCH 19/41] gnu: rust-rbw: adding rust-tokio-1.15 Nicolas Graves via Guix-patches via
2022-01-19 13:47 ` Nicolas Goaziou

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).