aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Pastor PĂ©rez <sergio.pastorperez@outlook.es>2024-08-18 18:33:03 +0200
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-08-20 13:02:51 +0800
commit65aa99b69d784b276c287d3f3baf27ad395b2c21 (patch)
treeaf21f87858bc7ee2444106a822e2eecb4dd6dd69
parent5a340153b59060df734a8367142ba80433678d7c (diff)
downloadguix-65aa99b69d784b276c287d3f3baf27ad395b2c21.tar
guix-65aa99b69d784b276c287d3f3baf27ad395b2c21.tar.gz
gnu: Add rust-pipewire-0.7.
* gnu/packages/crates-io.scm (rust-pipewire-0.7): New variable. Change-Id: I1cf5c0e428557d601247761f415111e8fafff594 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b884134e15..16ec2fc45d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53606,6 +53606,37 @@ along with strong support for variations and the core header tables.")
"This package provides Rust FFI bindings for @code{PipeWire}.")
(license license:expat)))
+(define-public rust-pipewire-0.7
+ (package
+ (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"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#: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))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list pipewire clang))
+ (home-page "https://pipewire.org")
+ (synopsis "Rust bindings for PipeWire")
+ (description "This package provides Rust bindings for @code{PipeWire}.")
+ (license license:expat)))
+
(define-public rust-pkg-config-0.3
(package
(name "rust-pkg-config")