From c0042d1c6c6b6f4bb4d24443a86db28fc0cd821a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 2 Aug 2023 20:10:56 +0300 Subject: [PATCH] gnu: Add rust-uds-windows-1. * gnu/packages/crates-io.scm (rust-uds-windows-1): New variable. (rust-uds-windows-0.1): Inherit from rust-uds-windows-1. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e9ddfd7394..278716978f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -72857,8 +72857,30 @@ (define-public rust-ucd-util-0.1 (license (list license:asl2.0 license:expat)))) +(define-public rust-uds-windows-1 + (package + (name "rust-uds-windows") + (version "1.0.2") + (source (origin + (method url-fetch) + (uri (crate-uri "uds-windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03ckj6vnzvm4r5xd17dxyyqqqcfgs3xqj53hcswykk6k4i1n0rff")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-tempfile" ,rust-tempfile-3) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/haraldh/rust_uds_windows") + (synopsis "Unix Domain Sockets for Windows") + (description "This library integrates Unix Domain Sockets on Windows.") + (license license:expat))) + (define-public rust-uds-windows-0.1 (package + (inherit rust-uds-windows-1) (name "rust-uds-windows") (version "0.1.5") (source @@ -72868,17 +72890,12 @@ (define-public rust-uds-windows-0.1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0mdv9xyrf8z8zr2py5drbilkncgrkg61axq6h7hcvgggklv9f14z")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) ("rust-tempdir" ,rust-tempdir-0.3) ("rust-winapi" ,rust-winapi-0.2) - ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)))) - (home-page "https://github.com/haraldh/rust_uds_windows") - (synopsis "Unix Domain Sockets for Windows") - (description "This library integrates Unix Domain Sockets on Windows.") - (license license:expat))) + ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)))))) (define-public rust-ufmt-0.1 (package