guix-commits
[Top][All Lists]
Advanced

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

46/66: gnu: Add rust-portaudio-sys-0.1.


From: guix-commits
Subject: 46/66: gnu: Add rust-portaudio-sys-0.1.
Date: Tue, 24 Oct 2023 07:55:00 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

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

    gnu: Add rust-portaudio-sys-0.1.
    
    * gnu/packages/crates-io.scm (rust-portaudio-sys-0.1): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: I1944c9bfa5ee9a44cf79208ef4b781cb6fe59150
---
 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 62c3845088..3765fa5a55 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52026,6 +52026,29 @@ overloading without macros in Rust.")
 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";)
+    (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")



reply via email to

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