Unverified Commit 354190b6 authored by Nicolas Goaziou's avatar Nicolas Goaziou
Browse files

gnu: Add rust-tokio-socks-0.3.

* gnu/packages/crates-io.scm (rust-tokio-socks-0.3): New variable.
(rust-tokio-socks-0.2): Inherit from above.
parent f4a687ee
......@@ -31816,21 +31816,21 @@ using Rustls.")
futures.")
(license license:expat)))
 
(define-public rust-tokio-socks-0.2
(define-public rust-tokio-socks-0.3
(package
(name "rust-tokio-socks")
(version "0.2.2")
(version "0.3.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "tokio-socks" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1bwdjafbbs0907w42dl899inykflz4gbm026wh097q151s57i5qr"))))
(base32 "0f95zcvllb5byz4acwbnlsk9a2rdql4x78x0a8nkfwhq4ifzs4fn"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
`(#:tests? #false ;"tor_resolve_with_socket" not found
#:cargo-inputs
(("rust-bytes" ,rust-bytes-0.4)
("rust-either" ,rust-either-1)
("rust-futures" ,rust-futures-0.3)
......@@ -31842,10 +31842,36 @@ futures.")
("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
(description
"This package provides asynchronous SOCKS proxy support for
Rust.")
(license license:expat)))
 
(define-public rust-tokio-socks-0.2
(package
(inherit rust-tokio-socks-0.3)
(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"))))
(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))))))
(define-public rust-tokio-sync-0.2
(package
(name "rust-tokio-sync")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment