gnu: Add rust-net2.

* gnu/packages/crates-io.scm (rust-net2): New variable.
This commit is contained in:
Efraim Flashner 2019-08-28 16:03:59 +03:00
parent a567cde9b1
commit 018c298948
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 26 additions and 0 deletions

View File

@ -718,6 +718,32 @@ whether an expression matches a pattern.")
"Chaining APIs for both self -> Self and &mut self methods.")
(license license:expat)))
(define-public rust-net2
(package
(name "rust-net2")
(version "0.2.33")
(source
(origin
(method url-fetch)
(uri (crate-uri "net2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"126g3fgfxp06zimc1l9iyxnn9cif1hjsg7sd81nlls5nnyghsma2"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if)
("rust-libc" ,rust-libc)
("rust-winapi" ,rust-winapi))))
(home-page "https://github.com/rust-lang-nursery/net2-rs")
(synopsis "Extensions to the standard library's networking types")
(description
"This library contains extensions to the standard library's networking
types as proposed in RFC 1158.")
(license (list license:asl2.0
license:expat))))
(define-public rust-num-integer
(package
(name "rust-num-integer")