summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-24 12:15:05 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:39:42 +0300
commit79f7e8a987899cd0b7ae9971cb58ded1ae5b9350 (patch)
tree7f3ec4b9aa01905cec015cefe64ee6c12ef0f791 /gnu
parent74ea7a356fdce2dcbafbc12ccef63f753fd3df82 (diff)
downloadguix-79f7e8a987899cd0b7ae9971cb58ded1ae5b9350.tar.gz
gnu: Add rust-jack-sys-0.2.
* gnu/packages/crates-io.scm (rust-jack-sys-0.2): New variable.

Change-Id: Idb2c28c8fc76c6e7dada1a65671194c167da1258
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fb6b8feddb..e4f5dbf69d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59,6 +59,7 @@
   #:use-module (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages audio)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages avahi)
   #:use-module (gnu packages bash)
@@ -35126,6 +35127,29 @@ format.")
     (description "This package provides a simple ivf muxer.")
     (license license:bsd-2)))
 
+(define-public rust-jack-sys-0.2
+  (package
+    (name "rust-jack-sys")
+    (version "0.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "jack-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1h9c9za19nyr1prx77gkia18ia93f73lpyjdiyrvmhhbs79g54bv"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-inputs `(("rust-lazy-static" ,rust-lazy-static-1)
+                            ("rust-libc" ,rust-libc-0.2)
+                            ("rust-libloading" ,rust-libloading-0.6)
+                            ("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (inputs (list jack-2))
+    (home-page "https://github.com/RustAudio/rust-jack/tree/main/jack-sys")
+    (synopsis "Low-level bindings to the JACK audio API")
+    (description "Low-level bindings to the JACK audio API.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-javascriptcore-rs-sys-0.2
   (package
     (name "rust-javascriptcore-rs-sys")