mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-net2.
* gnu/packages/crates-io.scm (rust-net2): New variable.
This commit is contained in:
parent
a567cde9b1
commit
018c298948
1 changed files with 26 additions and 0 deletions
|
@ -718,6 +718,32 @@ whether an expression matches a pattern.")
|
||||||
"Chaining APIs for both self -> Self and &mut self methods.")
|
"Chaining APIs for both self -> Self and &mut self methods.")
|
||||||
(license license:expat)))
|
(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
|
(define-public rust-num-integer
|
||||||
(package
|
(package
|
||||||
(name "rust-num-integer")
|
(name "rust-num-integer")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue