summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 107ed1408f..1c5978572c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26318,6 +26318,33 @@ maximal amount of configuration possible intended.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-socks-0.3
+ (package
+ (name "rust-socks")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "socks" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hnbw4c4j7dn9n3bd1v7ddkdzlxlzkfw3z29da1nxlj6jgx4r9p6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Tests require network connection.
+ #:cargo-inputs
+ (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.2)
+ ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2))))
+ (home-page "https://github.com/sfackler/rust-socks")
+ (synopsis "Rust SOCKS proxy clients")
+ (description
+ "You can write SOCKS proxy clients with this crate.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-sourcefile-0.1
(package
(name "rust-sourcefile")