Subject: [bug#67515] [PATCH 35/91] gnu: Add rust-errno-sys-0.1.

From: Sergio Pastor Pérez <[email-masked]>
Date: Tue, 28 Nov 2023 22:12:13 +0100

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 347f3f2cc1..c3ffe8462b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24677,6 +24677,26 @@ (define-public rust-error-code-2
 @code{no_std} environment.")
     (license license:boost1.0)))
 
+(define-public rust-errno-sys-0.1
+  (package
+    (name "rust-errno-sys")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "errno-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1s1lsrcqrdxx9xsvy3vzhypyizyjpcaxrijb09c50lpid8hhf04w"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-cc" ,rust-cc-1)
+                       ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/A1-Triard/errno-sys")
+    (synopsis "Raw FFI bindings to `errno` location.")
+    (description "Raw FFI bindings to `errno` location.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-escaper-0.1
   (package
     (name "rust-escaper")
-- 
2.41.0