From 38d2b63d2cdccd04dffba1565373a60cb6a04d8a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 2 Aug 2023 20:14:17 +0300 Subject: gnu: Add rust-tokio-vsock-0.3. * gnu/packages/crates-io.scm (rust-tokio-vsock-0.3): New variable. --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0d4001c2ee..f200dbac17 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -70252,6 +70252,38 @@ (define-public rust-tokio-util-0.2 ("rust-tokio" ,rust-tokio-0.2) ("rust-tokio-test" ,rust-tokio-test-0.2)))))) +(define-public rust-tokio-vsock-0.3 + (package + (name "rust-tokio-vsock") + (version "0.3.4") + (source (origin + (method url-fetch) + (uri (crate-uri "tokio-vsock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1g1fhsibfdgsqayjr9gxkd5npgxh8rj36pcb9pi1c7ci51l5acwv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" "--skip=test_vsock_server") + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-futures" ,rust-futures-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tonic" ,rust-tonic-0.6) + ("rust-vsock" ,rust-vsock-0.2)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rust-vsock/tokio-vsock") + (synopsis "Asynchronous Virtio socket support for Rust") + (description + "This package provides asynchronous Virtio socket support for Rust.") + (license license:asl2.0))) + (define-public rust-toml-0.7 (package (name "rust-toml") -- cgit v1.2.3