aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-20 00:15:26 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:41:59 +0530
commit53ece90919c0acb37a778559c754be945176d553 (patch)
tree209e87644de0c35c0d03d8da5efaf9b90ef8fcd8
parentba45930077b7f46b4da5746ce7ea9bab56c7c290 (diff)
downloadguix-53ece90919c0acb37a778559c754be945176d553.tar.gz
guix-53ece90919c0acb37a778559c754be945176d553.zip
gnu: Add rust-tokio-socks-0.2.
* gnu/packages/crates-io.scm (rust-tokio-socks-0.2): New variable.
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 59d33937b6..cc0c17c49c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27571,6 +27571,36 @@ using Rustls.")
futures.")
(license license:expat)))
+(define-public rust-tokio-socks-0.2
+ (package
+ (name "rust-tokio-socks")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tokio-socks" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bwdjafbbs0907w42dl899inykflz4gbm026wh097q151s57i5qr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bytes" ,rust-bytes-0.4)
+ ("rust-either" ,rust-either-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-0.2))
+ #: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)))
+
(define-public rust-tokio-sync-0.2
(package
(name "rust-tokio-sync")