Subject: [bug#66717] [PATCH 07/64] gnu: Add rust-alto.

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 58faea49ce..6e1dd9daef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3092,6 +3092,31 @@ (define-public rust-allocator-api2-0.2
     (description "Mirror of Rust's allocator API.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-alto-3
+  (package
+    (name "rust-alto")
+    (version "3.0.4")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "alto" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1rgsdmh346s3rwhzqacjc6nz7jap4dd72c1gfmkaq9sgzh9fhnyp"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:tests? #f ;tests assume Windows
+           #:skip-build? #f
+           #:cargo-inputs `(("rust-al-sys" ,rust-al-sys-0.6)
+                            ("rust-lazy-static" ,rust-lazy-static-0.2)
+                            ("rust-parking-lot" ,rust-parking-lot-0.4))))
+    (home-page "https://github.com/jpernst/alto")
+    (synopsis
+     "Idiomatic Rust bindings for OpenAL 1.1 and extensions (including EFX)")
+    (description
+     "Rust bindings for OpenAL 1.1 and extensions (including EFX).")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-always-assert-0.1
   (package
     (name "rust-always-assert")
-- 
2.41.0