Subject: [PATCH 43/64] gnu: Add rust-portaudio-sys-0.1.

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

* gnu/packages/crates-io.scm (rust-portaudio-sys-0.1): New variable.
---
 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 6304208bdb..67f7b0dd5c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52280,6 +52280,29 @@ (define-public rust-portable-atomic-1
 128-bit atomics, atomic float, etc.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-portaudio-sys-0.1
+  (package
+    (name "rust-portaudio-sys")
+    (version "0.1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "portaudio-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1xdpywirpr1kqkbak7hnny62gmsc93qgc3ij3j2zskrvjpxa952i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (native-inputs (list pkg-config))
+    (inputs (list portaudio alsa-lib))
+    (home-page "https://github.com/RustAudio/rust-portaudio.git")
+    (synopsis "Bindings for PortAudio a cross-platform audio library")
+    (description "Bindings for PortAudio an open source, cross-platform 
+audio I/O library.")
+    (license license:expat)))
+
 (define-public rust-postgres-0.19
   (package
     (name "rust-postgres")
-- 
2.41.0