Subject: [bug#66717] [PATCH 19/64] gnu: Add rust-asyio-sys.

From: Steve George <[email-masked]>
Date: Mon, 23 Oct 2023 23:21:04 +0100

* gnu/packages/crates-io.scm (rust-asio-sys): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d730dfea37..ddaacc4bc0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4456,6 +4456,33 @@ (define-public rust-as-derive-utils-0.8
         ("rust-serde-derive" ,rust-serde-derive-1)
         ("rust-syn" ,rust-syn-1))))))
 
+(define-public rust-asio-sys-0.2
+  (package
+    (name "rust-asio-sys")
+    (version "0.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "asio-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "16lbavksj2aasadyxbdnbrll6a1m8cwl4skbxgbvr1ma2wpwv82c"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #t
+           #:cargo-inputs `(("rust-bindgen" ,rust-bindgen-0.56)
+                            ("rust-cc" ,rust-cc-1)
+                            ("rust-num-derive" ,rust-num-derive-0.3)
+                            ("rust-num-traits" ,rust-num-traits-0.2)
+                            ("rust-once-cell" ,rust-once-cell-1)
+                            ("rust-walkdir" ,rust-walkdir-2))))
+    (home-page "https://github.com/RustAudio/cpal/")
+    (synopsis
+     "Low-level interface and binding generation for the Steinberg ASIO SDK")
+    (description
+     "Low-level interface and binding generation for the Steinberg ASIO SDK.")
+    (license license:asl2.0)))
+
 (define-public rust-askama-escape-0.10
   (package
     (name "rust-askama-escape")
-- 
2.41.0