Subject: [PATCH rust-team v3 18/75] gnu: Add rust-pipewire-0.7.

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

* gnu/packages/crates-io.scm (rust-pipewire-0.7): Add variable.
---
 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 f1f7bbff05..eff1a59a82 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54972,6 +54972,31 @@ (define-public rust-pipewire-0.8
       "This package provides Rust bindings for @code{PipeWire}.")
     (license license:expat)))
 
+(define-public rust-pipewire-0.7
+  (package
+    (inherit rust-pipewire-0.8)
+    (name "rust-pipewire")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pipewire" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1sg9cbvhp0s07a337zwli0xm40f8wkvm06d72nsr1s35vp40kl52"))))
+    (arguments
+     `(#:cargo-development-inputs (("rust-clap" ,rust-clap-4)
+                                   ("rust-once-cell" ,rust-once-cell-1))
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-libspa" ,rust-libspa-0.7)
+                       ("rust-libspa-sys" ,rust-libspa-sys-0.7)
+                       ("rust-nix" ,rust-nix-0.26)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-pipewire-sys" ,rust-pipewire-sys-0.7)
+                       ("rust-thiserror" ,rust-thiserror-1))))))
+
 (define-public rust-pipewire-sys-0.8
   (package
     (name "rust-pipewire-sys")
-- 
2.41.0