From f0b1c893103e615408ad2d4e37a2321e2a7063cd Mon Sep 17 00:00:00 2001 From: normalmente Date: Tue, 19 Mar 2024 03:50:52 +0000 Subject: [PATCH] gnu: Add rust-named-pipe-0.4. * gnu/packages/crates-windows.scm (rust-named-pipe-0.4): New variable. Change-Id: Ibf1baf32e0245e55c3213ff64bd8e0af67e7d8ff Signed-off-by: Efraim Flashner --- gnu/packages/crates-windows.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index 59163f812a..fb782e9496 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Jordan Moore ;;; Copyright © 2024 Murilo +;;; Copyright © 2024 normally_js ;;; ;;; This file is part of GNU Guix. ;;; @@ -657,6 +658,28 @@ (define-public rust-miow-0.2 #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-named-pipe-0.4 + (package + (name "rust-named-pipe") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "named_pipe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0azby10wzmsrf66m1bysbil0sjfybnvhsa8py093xz4irqy4975d")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; failed to resolve: could not find `shared` in `winapi` + #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/blackbeam/named_pipe") + (synopsis "Wrapper for overlapped (asyncronous) IO of Windows's named pipes") + (description + "This package provides a wrapper for overlapped (asyncronous) IO of +Windows's named pipes.") + (license (list license:expat license:asl2.0)))) + (define-public rust-nt-time-0.6 (package (name "rust-nt-time") @@ -3361,4 +3384,3 @@ (define-public rust-windows-x86-64-msvc-0.28 (sha256 (base32 "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz")))))) -