summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:21:29 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:39:46 +0300
commita7fb63cbfa9dc86481decdfb7ccf72224eaf5a42 (patch)
treea5c7e044349841e87f8106bc4cc608f1990cd7e2 /gnu/packages/crates-io.scm
parentae6a5987a6b3ec9d7d7cb94204d437b274f30652 (diff)
downloadguix-a7fb63cbfa9dc86481decdfb7ccf72224eaf5a42.tar.gz
gnu: Add rust-portaudio-rs-0.3.
* gnu/packages/crates-io.scm (rust-portaudio-rs-0.3): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I0c89e404073103ae1b142fbcda5a45022f403683
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3765fa5a55..c0d49eb9ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52026,6 +52026,30 @@ overloading without macros in Rust.")
 128-bit atomics, atomic float, etc.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-portaudio-rs-0.3
+  (package
+    (name "rust-portaudio-rs")
+    (version "0.3.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "portaudio-rs" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0qnmc7amk0fzbcs985ixv0k4955f0fmpkhrl9ps9pk3cz7pvbdnd"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-portaudio-sys" ,rust-portaudio-sys-0.1))))
+    (native-inputs (list pkg-config))
+    (inputs (list portaudio alsa-lib))
+    (home-page "https://github.com/RustAudio/rust-portaudio")
+    (synopsis "Rust bindings for PortAudio a cross-platfomr audio library")
+    (description "Rusting bindings for PortAudio an open source, cross-platform
+audio I/O library.")
+    (license license:expat)))
+
 (define-public rust-portaudio-sys-0.1
   (package
     (name "rust-portaudio-sys")