guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72699] [PATCH 4/5] gnu: Add rust-libspa-0.7.


From: Sergio Pastor Pérez
Subject: [bug#72699] [PATCH 4/5] gnu: Add rust-libspa-0.7.
Date: Sun, 18 Aug 2024 18:33:05 +0200

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
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

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 @@ (define-public rust-libspa-sys-0.7
     (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")
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]