Subject: [PATCH 06/64] gnu: Add rust-al-sys.

From: Steve George <[email-masked]>
Date: Mon, 23 Oct 2023 23:20:51 +0100

* gnu/packages/crates-io.scm (rust-al-sys): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a3360c6024..58faea49ce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2788,6 +2788,28 @@ (define-public rust-aho-corasick-0.5
         ("rust-rand" ,rust-rand-0.3)
         ("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))))
 
+(define-public rust-al-sys-0.6
+  (package
+    (name "rust-al-sys")
+    (version "0.6.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "al-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "08whlcfrhn4gqi4nbglkdqv5ysdpnvnlsqg51q34q9hh9l7rp3gz"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-libloading" ,rust-libloading-0.5)
+                            ("rust-rental" ,rust-rental-0.5))
+           #:cargo-development-inputs `(("rust-cmake" ,rust-cmake-0.1))))
+    (home-page "https://github.com/jpernst/alto")
+    (synopsis "Raw bindings for OpenAL 1.1")
+    (description "Rust bindings for OpenAL, this crate contains FFI elements.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-alacritty-config-0.1
   (package
     (name "rust-alacritty-config")
-- 
2.41.0