summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergio Pastor PĂ©rez <sergio.pastorperez@outlook.es>2024-08-18 18:33:02 +0200
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-08-20 13:02:51 +0800
commit5a340153b59060df734a8367142ba80433678d7c (patch)
treeba9510d0730f9ee3b5f4066ebc1072ded74d1bc1
parentd4c8ec90bc26f92f110b2b664901a58401266bca (diff)
downloadguix-5a340153b59060df734a8367142ba80433678d7c.tar.gz
gnu: Add rust-pipewire-sys-0.7.
* gnu/packages/crates-io.scm (rust-pipewire-sys-0.7): New variable.

Change-Id: Ica34a134fdf168725e6eed0ebbe5740df65c4cea
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 22c6136852..b884134e15 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53580,6 +53580,32 @@ along with strong support for variations and the core header tables.")
        #:cargo-development-inputs
        (("rust-futures" ,rust-futures-0.3))))))
 
+(define-public rust-pipewire-sys-0.7
+  (package
+    (name "rust-pipewire-sys")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pipewire-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0r4z0farzflycgfp6x7z65h57np4l1qnpj4r8z5lcwkkgd70h349"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66)
+                       ("rust-libspa-sys" ,rust-libspa-sys-0.7)
+                       ("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 PipeWire")
+    (description
+     "This package provides Rust FFI bindings for @code{PipeWire}.")
+    (license license:expat)))
+
 (define-public rust-pkg-config-0.3
   (package
     (name "rust-pkg-config")