From ae6a5987a6b3ec9d7d7cb94204d437b274f30652 Mon Sep 17 00:00:00 2001 From: Steve George Date: Mon, 23 Oct 2023 23:21:28 +0100 Subject: [PATCH] gnu: Add rust-portaudio-sys-0.1. * gnu/packages/crates-io.scm (rust-portaudio-sys-0.1): New variable. Signed-off-by: Efraim Flashner 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 @@ (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") + (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")