Subject: [bug#69257] [PATCH rust-team v3 13/75] gnu: Add rust-libspa-0.8.

From: Herman Rimm <[email-masked]>
Date: Sat, 4 May 2024 13:34:45 +0200

* gnu/packages/crates-io.scm (rust-libspa-0.8): Add variable.
---
 gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ac355b5a41..48eefc7ee6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38890,6 +38890,42 @@ (define-public rust-libsensors-sys-0.2
     (description "This package provides Rust bindings to libsensors.")
     (license license:miros)))
 
+(define-public rust-libspa-0.8
+  (package
+    (name "rust-libspa")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libspa" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "044qs48yl0llp2dmrgwxj9y1pgfy09i6fhq661zqqb9a3fwa9wv5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--"
+         "--skip=utils::result::tests::async_seq_panic")
+       #:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-2)
+        ("rust-cc" ,rust-cc-1)
+        ("rust-convert-case" ,rust-convert-case-0.6)
+        ("rust-cookie-factory" ,rust-cookie-factory-0.3)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-libspa-sys" ,rust-libspa-sys-0.8)
+        ("rust-nix" ,rust-nix-0.27)
+        ("rust-nom" ,rust-nom-7)
+        ("rust-system-deps" ,rust-system-deps-6))
+       #:cargo-development-inputs
+       (("rust-pipewire" ,rust-pipewire-0.8)
+        ("rust-pipewire-sys" ,rust-pipewire-sys-0.8))))
+    (native-inputs (list pkg-config))
+    (inputs (list clang pipewire))
+    (home-page "https://pipewire.org")
+    (synopsis "Rust bindings for libspa")
+    (description "This package provides Rust bindings for libspa.")
+    (license license:expat)))
+
 (define-public rust-libspa-sys-0.8
   (package
     (name "rust-libspa-sys")
-- 
2.41.0