From 53b6cd64076bacc8c8fb9e6becac28c6bfea7c51 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 27 Dec 2021 18:48:08 +0100 Subject: gnu: Add rust-nb-1. * gnu/packages/crates-io.scm (rust-nb-1): New variable. --- gnu/packages/crates-io.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3cf036860f..cc616d2a71 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32025,6 +32025,24 @@ implementation.") "This package provides a crate to perform natural ordering for Rust.") (license license:expat))) +(define-public rust-nb-1 + (package + (name "rust-nb") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nb" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1blc9143cqh3cn2imr050qczbnfrfdl10xxnfdggamlybnn3fv2l")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/rust-embedded/nb") + (synopsis "Minimal non-blocking I/O layer") + (description "This package provides a minimal non-blocking I/O layer.") + (license (list license:expat license:asl2.0)))) + (define-public rust-nb-connect-1 (package (name "rust-nb-connect") -- cgit 1.4.1