diff mbox series

[bug#69257,rust-team,v3,18/75] gnu: Add rust-pipewire-0.7.

Message ID 2cb98b3bcb2c35be283fcbd1a474f03b716a45db.1714820129.git.herman@rimm.ee
State New
Headers show
Series Finish packages. | expand

Commit Message

Herman Rimm May 4, 2024, 11:34 a.m. UTC
* gnu/packages/crates-io.scm (rust-pipewire-0.7): Add variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
diff mbox series

Patch

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")