diff mbox series

[bug#69257,rust-team,v3,12/75] gnu: Add rust-libspa-sys-0.7.

Message ID f0c4e2e349947f445d0175e1dc6025ef102e2360.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-libspa-sys-0.7): Add variable.

Change-Id: I965983f0a119353d511f866cb7add6fdca5bde45
---
 gnu/packages/crates-io.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 28c0681908..ac355b5a41 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38913,6 +38913,23 @@  (define-public rust-libspa-sys-0.8
     (description "This package provides Rust FFI bindings for libspa.")
     (license license:expat)))
 
+(define-public rust-libspa-sys-0.7
+  (package
+    (inherit rust-libspa-sys-0.8)
+    (name "rust-libspa-sys")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libspa-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ifkg4k7azfqbz4i1lk31d77nhlc2w36s133yf78a3z7yfihrrxk"))))
+    (arguments
+     `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66)
+                       ("rust-cc" ,rust-cc-1)
+                       ("rust-system-deps" ,rust-system-deps-6))))))
+
 (define-public rust-libsqlite3-sys-0.28
   (package
     (name "rust-libsqlite3-sys")