guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

47/66: gnu: Add rust-portaudio-rs-0.3.


From: guix-commits
Subject: 47/66: gnu: Add rust-portaudio-rs-0.3.
Date: Tue, 24 Oct 2023 07:55:01 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit a7fb63cbfa9dc86481decdfb7ccf72224eaf5a42
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 23 23:21:29 2023 +0100

    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
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]