[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/39: gnu: Add rust-tokio-socks-0.5.
From: |
guix-commits |
Subject: |
19/39: gnu: Add rust-tokio-socks-0.5. |
Date: |
Wed, 10 Mar 2021 17:52:20 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit f8e2758ec466fb16c54d0e8e6c0c79215ecfa336
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Mar 10 20:01:58 2021 +0100
gnu: Add rust-tokio-socks-0.5.
* gnu/packages/crates-io.scm (rust-tokio-socks-0.5): New variable.
(rust-tokio-socks-0.3): Inherit from above.
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++--------
1 file changed, 28 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 31f41a0..f814d46 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43108,8 +43108,35 @@ Rustls.")
futures.")
(license license:expat)))
+(define-public rust-tokio-socks-0.5
+ (package
+ (name "rust-tokio-socks")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-socks" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1h6qixh17yjf98bjyw4q8i36pf2lyfbcr9hkjjb6aalx0bx5s5ji"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-either" ,rust-either-1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/sticnarf/tokio-socks")
+ (synopsis "Asynchronous SOCKS proxy support for Rust")
+ (description
+ "This package provides asynchronous SOCKS proxy support for
+Rust.")
+ (license license:expat)))
+
(define-public rust-tokio-socks-0.3
(package
+ (inherit rust-tokio-socks-0.5)
(name "rust-tokio-socks")
(version "0.3.0")
(source
@@ -43119,7 +43146,6 @@ futures.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0f95zcvllb5byz4acwbnlsk9a2rdql4x78x0a8nkfwhq4ifzs4fn"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #false ;"tor_resolve_with_socket" not found
#:cargo-inputs
@@ -43131,13 +43157,7 @@ futures.")
#:cargo-development-inputs
(("rust-hyper" ,rust-hyper-0.13)
("rust-once-cell" ,rust-once-cell-1)
- ("rust-tokio" ,rust-tokio-0.2))))
- (home-page "https://github.com/sticnarf/tokio-socks")
- (synopsis "Asynchronous SOCKS proxy support for Rust")
- (description
- "This package provides asynchronous SOCKS proxy support for
-Rust.")
- (license license:expat)))
+ ("rust-tokio" ,rust-tokio-0.2))))))
(define-public rust-tokio-socks-0.2
(package
- 10/39: gnu: Add rust-trust-dns-native-tls-0.20., (continued)
- 10/39: gnu: Add rust-trust-dns-native-tls-0.20., guix-commits, 2021/03/10
- 11/39: gnu: Add rust-trust-dns-openssl-0.20., guix-commits, 2021/03/10
- 14/39: gnu: Add rust-tokio-openssl-0.6., guix-commits, 2021/03/10
- 13/39: gnu: Add rust-trust-dns-https-0.20., guix-commits, 2021/03/10
- 15/39: gnu: Add rust-resolv-conf-0.7., guix-commits, 2021/03/10
- 17/39: gnu: Add rust-test-cert-gen-0.1., guix-commits, 2021/03/10
- 20/39: gnu: Add rust-tokio-native-tls-0.3., guix-commits, 2021/03/10
- 12/39: gnu: Add rust-trust-dns-rustls-0.20., guix-commits, 2021/03/10
- 16/39: gnu: Add rust-trust-dns-resolver-0.20., guix-commits, 2021/03/10
- 18/39: gnu: rust-native-tls-0.2: Update to 0.2.7., guix-commits, 2021/03/10
- 19/39: gnu: Add rust-tokio-socks-0.5.,
guix-commits <=
- 21/39: gnu: Add rust-hyper-tls-0.5., guix-commits, 2021/03/10
- 24/39: gnu: Add rust-ct-logs-0.8., guix-commits, 2021/03/10
- 23/39: gnu: Add rust-rustls-native-certs-0.5., guix-commits, 2021/03/10
- 22/39: gnu: Add rust-webpki-roots-0.21., guix-commits, 2021/03/10
- 25/39: gnu: Add rust-hyper-rustls-0.22., guix-commits, 2021/03/10
- 26/39: gnu: Add rust-httpdate-0.3., guix-commits, 2021/03/10
- 27/39: gnu: Add rust-tokio-util-0.6., guix-commits, 2021/03/10
- 33/39: gnu: Add rust-zstd-safe-3., guix-commits, 2021/03/10
- 35/39: gnu: rust-async-compression-0.3: Update to 0.3.7., guix-commits, 2021/03/10
- 28/39: gnu: Add rust-h2-0.3., guix-commits, 2021/03/10