summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:21:04 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:39:41 +0300
commit74ea7a356fdce2dcbafbc12ccef63f753fd3df82 (patch)
treedcfb68b9fc823d0a5c0ac396442852384d0d9b23
parent97e865213da95d41969bf60f70a971978672f490 (diff)
downloadguix-74ea7a356fdce2dcbafbc12ccef63f753fd3df82.tar.gz
gnu: Add rust-asio-sys-0.2.
* gnu/packages/crates-io.scm (rust-asio-sys-0.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I9398443298df8bd3d927f048da69a021be872ecf
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8eb9fc9ee2..fb6b8feddb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4457,6 +4457,33 @@ the abi_stable and structural crates.")
         ("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")