Subject: [bug#72699] [PATCH 3/5] gnu: Add rust-libspa-sys-0.7.

From: Sergio Pastor Pérez <[email-masked]>
Date: Sun, 18 Aug 2024 18:33:04 +0200

* gnu/packages/crates-io.scm (rust-libspa-sys-0.7): New variable.

Change-Id: I6686c85521c914c8d0d2d80b7f0967eac2ca2f95
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16ec2fc45d..176b15e79d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38780,6 +38780,31 @@ (define-public rust-libsensors-sys-0.2
     (description "This package provides Rust bindings to libsensors.")
     (license license:miros)))
 
+(define-public rust-libspa-sys-0.7
+  (package
+    (name "rust-libspa-sys")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libspa-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ifkg4k7azfqbz4i1lk31d77nhlc2w36s133yf78a3z7yfihrrxk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66)
+                       ("rust-cc" ,rust-cc-1)
+                       ("rust-system-deps" ,rust-system-deps-6))))
+    (native-inputs
+     (list pkg-config clang))
+    (inputs
+     (list pipewire))
+    (home-page "https://pipewire.org")
+    (synopsis "Rust FFI bindings for libspa")
+    (description "This package provides Rust FFI bindings for libspa.")
+    (license license:expat)))
+
 (define-public rust-libsqlite3-sys-0.28
   (package
     (name "rust-libsqlite3-sys")
-- 
2.45.2