guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/36: gnu: Add rust-named-pipe-0.4.


From: guix-commits
Subject: 01/36: gnu: Add rust-named-pipe-0.4.
Date: Mon, 9 Dec 2024 12:45:43 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 4222d28dfd75206217676b91b7b01719ea6c9d66
Author: normalmente <normally_js@posteo.net>
AuthorDate: Tue Mar 19 03:50:52 2024 +0000

    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 <efraim@flashner.co.il>
---
 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 <lockbox@struct.foo>
 ;;; Copyright © 2024 Murilo <murilo@disroot.org>
+;;; Copyright © 2024 normally_js <normally_js@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -657,6 +658,28 @@ IOCP and Async I/O abstractions.")
        #: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 @@ windows crate.")
               (sha256
                (base32
                 "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz"))))))
-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]