From fe16a89b6e476e1d52d4ee9cf8ea5638540b30d4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 31 Mar 2024 14:57:56 +0300 Subject: [PATCH] gnu: Add rust-socketpair-0.19. * gnu/packages/crates-io.scm (rust-socketpair-0.19): New variable. Change-Id: Ica179506798959563272912659243467ce4f8b3b --- 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 8927555a0c..bafe517be3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -71130,6 +71130,33 @@ (define-public rust-socket2-0.3 #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3)))))) +(define-public rust-socketpair-0.19 + (package + (name "rust-socketpair") + (version "0.19.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "socketpair" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xln407qisgd1rrq54ff7b9dbm0mjwvkl17ry6bph4clz2vhvicx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-io-extras" ,rust-io-extras-0.18) + ("rust-io-lifetimes" ,rust-io-lifetimes-2) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-tokio" ,rust-tokio-1) + ("rust-uuid" ,rust-uuid-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)))) + (home-page "https://github.com/sunfishcode/socketpair") + (synopsis "Cross-platform socketpair functionality") + (description + "This package provides cross-platform socketpair functionality.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-socks-0.3 (package (name "rust-socks")