guix-commits
[Top][All Lists]
Advanced

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

09/66: gnu: Add rust-alsa-sys-0.3.


From: guix-commits
Subject: 09/66: gnu: Add rust-alsa-sys-0.3.
Date: Tue, 24 Oct 2023 07:54:47 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 69c11e51cafe04b370362e8849b57d6da8bafc0c
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 23 23:20:54 2023 +0100

    gnu: Add rust-alsa-sys-0.3.
    
    * gnu/packages/crates-io.scm (rust-alsa-sys-0.3): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: I3d05e94c15e841b1e848f6fec06b1fa9640da2e5
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ba67fd62d7..2ed7f0cd10 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3092,6 +3092,30 @@ be used with the stdlib.")
     (description "Mirror of Rust's allocator API.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-alsa-sys-0.3
+  (package
+    (name "rust-alsa-sys")
+    (version "0.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "alsa-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "09qmmnpmlcj23zcgx2xsi4phcgm5i02g9xaf801y7i067mkfx3yv"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:tests? #f  ; doc tests fail
+           #:cargo-inputs `(("rust-libc" ,rust-libc-0.2)
+                            ("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (native-inputs (list pkg-config alsa-lib))
+    (home-page "https://github.com/diwic/alsa-sys";)
+    (synopsis "FFI bindings for the ALSA sound API")
+    (description
+     "FFI bindings for the ALSA sound API.  This package contains
+the code to interact with the underlying operating system ALSA interface.")
+    (license license:expat)))
+
 (define-public rust-alto-3
   (package
     (name "rust-alto")



reply via email to

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