[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/32: gnu: Add rust-nb-connect-1.
From: |
guix-commits |
Subject: |
03/32: gnu: Add rust-nb-connect-1. |
Date: |
Mon, 4 Jan 2021 13:32:59 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 24a285acca2a4675df79ef3169088937ab49658c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Dec 20 14:39:46 2020 +0100
gnu: Add rust-nb-connect-1.
* gnu/packages/crates-io.scm (rust-nb-connect-1): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5167d26..e2733af 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18378,6 +18378,33 @@ IO of Windows's named pipes.")
"This package provides a crate to perform natural ordering for Rust.")
(license license:expat)))
+(define-public rust-nb-connect-1
+ (package
+ (name "rust-nb-connect")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nb-connect" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1649m71wc0cg1rqgl8vbh0489znkhpwgl0isjd5x8mz470ash8w1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-polling" ,rust-polling-2))))
+ (home-page "https://github.com/stjepang/nb-connect")
+ (synopsis "Non-blocking TCP or Unix connect")
+ (description
+ "This crate allows you to create a TcpStream or a UnixStream in
+a non-blocking way, without waiting for the connection to become fully
+established.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-ndarray-0.12
(package
(name "rust-ndarray")
- branch master updated (95e7542 -> 7144a26), guix-commits, 2021/01/04
- 01/32: gnu: Add rust-wepoll-sys-3., guix-commits, 2021/01/04
- 02/32: gnu: Add rust-polling-2., guix-commits, 2021/01/04
- 04/32: gnu: Add rust-vec-arena-1., guix-commits, 2021/01/04
- 05/32: gnu: Add rust-spinning-top-0.2., guix-commits, 2021/01/04
- 07/32: gnu: Add rust-random-trait-0.1., guix-commits, 2021/01/04
- 08/32: gnu: Add rust-random-fast-rng-0.1., guix-commits, 2021/01/04
- 09/32: gnu: Add rust-randomize-4., guix-commits, 2021/01/04
- 11/32: gnu: rust-signal-hook-0.1: Update to 0.1.16., guix-commits, 2021/01/04
- 12/32: gnu: Add rust-inotify-0.8., guix-commits, 2021/01/04
- 03/32: gnu: Add rust-nb-connect-1.,
guix-commits <=
- 13/32: gnu: Add rust-timerfd-1., guix-commits, 2021/01/04
- 06/32: gnu: Add rust-getrandom-0.2., guix-commits, 2021/01/04
- 22/32: gnu: Add rust-parking-1., guix-commits, 2021/01/04
- 21/32: gnu: Add rust-wepoll-sys-stjepang-1., guix-commits, 2021/01/04
- 30/32: gnu: Add rust-async-process-1., guix-commits, 2021/01/04
- 18/32: gnu: Add rust-async-io-1 and rust-async-net-1., guix-commits, 2021/01/04
- 27/32: gnu: Add rust-smol-0.1., guix-commits, 2021/01/04
- 15/32: gnu: Add rust-flume-0.10., guix-commits, 2021/01/04
- 10/32: gnu: Add rust-nanorand-0.5., guix-commits, 2021/01/04
- 14/32: gnu: Add rust-uds-windows-0.1., guix-commits, 2021/01/04