summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-06-17 17:14:20 -0700
committerEfraim Flashner <efraim@flashner.co.il>2020-11-22 19:44:39 +0200
commitc9618d4a23ae464ea7124fc9313a6b0db3f6477e (patch)
treec316f0b25d8f9ec52e8a72a652c47bfde7c2e6de /gnu/packages
parent2e8135ccdad6baab4ae4b1f7893f85f67a0b7d70 (diff)
gnu: Add rust-socks-0.3.
* gnu/packages/crates-io.scm (rust-socks-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-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")