Subject: [PATCH rust-team v3 47/78] gnu: Add rust-sigpipe-0.1.

From: Andrew Wong <[email-masked]>
Date: Sun, 2 Mar 2025 16:30:18 -0500

* gnu/packages/crates-io.scm (rust-sigpipe-0.1): New variable.

Change-Id: I89e725d486979ce6f83bbf78e130fdc4e784c858
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8970d9179e..1bc604420d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74010,6 +74010,29 @@ (define-public rust-signal-hook-tokio-0.3
     (description "This package provides Tokio support for signal-hook.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-sigpipe-0.1
+  (package
+    (name "rust-sigpipe")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sigpipe" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1rnqcgbx2mv3w11y6vf05a8a3y6jyqwmwa0hhafi6j6kw2rvz12m"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://www.github.com/kurtbuilds/sigpipe")
+    (synopsis
+     "single function call to reset SIGPIPE and fix `failed printing to stdout`")
+    (description
+     "This package provides a single function call to reset SIGPIPE and fix `failed
+printing to stdout`.")
+    (license license:expat)))
+
 (define-public rust-simba-0.8
   (package
     (name "rust-simba")
-- 
2.48.1