aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Pastor PĂ©rez <sergio.pastorperez@outlook.es>2024-08-18 18:33:05 +0200
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-08-20 13:02:51 +0800
commit604327e8c352c261d00cab827d49fe8732907a84 (patch)
tree6c3c03bfd1202602c1b683e528f4fb5e52453a72
parent4f8044f2719961f807b67e9b09f93a5da90ad405 (diff)
downloadguix-604327e8c352c261d00cab827d49fe8732907a84.tar.gz
guix-604327e8c352c261d00cab827d49fe8732907a84.zip
gnu: Add rust-libspa-0.7.
This package needs `rust-pipewire-0.7', which depends on `rust-libspa-0.7'. The next patches will add `rust-pipewire-0.7'. * gnu/packages/crates-io.scm (rust-libspa-0.7): New variable. Change-Id: I5967c47b9820714b0103c996c4094af8cf530862 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 176b15e79d..3973ea472a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38805,6 +38805,39 @@ This package contains the protobuf logic.")
(description "This package provides Rust FFI bindings for libspa.")
(license license:expat)))
+(define-public rust-libspa-0.7
+ (package
+ (name "rust-libspa")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libspa" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1i58ayw50brjh1a7gzfs9ijwl42lqmq2k4b7c2w1ijnx41q62d04"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; NOTE: 1 fail, `async_seq_panic' test should 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.7)
+ ("rust-nix" ,rust-nix-0.26)
+ ("rust-nom" ,rust-nom-7)
+ ("rust-system-deps" ,rust-system-deps-6)
+ ("rust-pipewire" ,rust-pipewire-0.7))))
+ (native-inputs
+ (list pkg-config clang))
+ (inputs
+ (list 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-libsqlite3-sys-0.28
(package
(name "rust-libsqlite3-sys")