summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:20:51 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:25:49 +0300
commitb19590a603c7e7b3cd81b11bba9e5cbf2ded37df (patch)
tree5eb9d276645ddba724c744a8a0e8a31a1ff35cbf
parentbcbcba19a8a2f4a312b8da8234bc1778a3214f69 (diff)
downloadguix-b19590a603c7e7b3cd81b11bba9e5cbf2ded37df.tar.gz
gnu: Add rust-al-sys-0.6.
* gnu/packages/crates-io.scm (rust-al-sys-0.6): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: If02793b27b7b90b92579936948fb3195aead02ac
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6f1da5a6bc..e19509aee4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2788,6 +2788,28 @@ using AES-NI for high performance.")
         ("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 #:cargo-inputs
+           `(("rust-cmake" ,rust-cmake-0.1)
+             ("rust-libloading" ,rust-libloading-0.5)
+             ("rust-rental" ,rust-rental-0.5))))
+    (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")