summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:21:23 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:39:44 +0300
commit18bf91a49c4163d7b4083c0877fb01ae13ef0145 (patch)
treeb746a589180ca2cd82079fb87da9207775bfd04a /gnu
parent8b6ba317ce4725bb5bdb76ad4b2c279c8dbcda1b (diff)
downloadguix-18bf91a49c4163d7b4083c0877fb01ae13ef0145.tar.gz
gnu: Add rust-jack-0.10.
* gnu/packages/crates-io.scm (rust-jack-0.10): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm41
1 files changed, 32 insertions, 9 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 042a3aaf36..63e95d8504 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35212,8 +35212,38 @@ format.")
     (description "This package provides a simple ivf muxer.")
     (license license:bsd-2)))
 
+(define-public rust-jack-0.10
+  (package
+    (name "rust-jack")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "jack" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0djs3j0icxbzbivhj73vgjrvjw6ncpfak2vyxjcbn4wvl9ajcwnf"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:tests? #f
+           #:cargo-inputs
+           `(("rust-bitflags" ,rust-bitflags-1)
+             ("rust-jack-sys" ,rust-jack-sys-0.4)
+             ("rust-lazy-static" ,rust-lazy-static-1)
+             ("rust-libc" ,rust-libc-0.2)
+             ("rust-log" ,rust-log-0.4))
+           #:cargo-development-inputs
+           `(("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5))))
+    (native-inputs (list pkg-config))
+    (inputs (list jack-2))
+    (home-page "https://github.com/RustAudio/rust-jack")
+    (synopsis "Real time audio and midi with JACK")
+    (description "Real time audio and midi with JACK.")
+    (license license:expat)))
+
 (define-public rust-jack-0.8
   (package
+    (inherit rust-jack-0.10)
     (name "rust-jack")
     (version "0.8.4")
     (source (origin
@@ -35223,7 +35253,6 @@ format.")
               (sha256
                (base32
                 "0lz10s0n2gy128m65pf96is9ip00vfgvnkfja0y9ydmv24pw2ajx"))))
-    (build-system cargo-build-system)
     (arguments
      (list #:tests? #f
            #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1)
@@ -35231,13 +35260,7 @@ format.")
                             ("rust-lazy-static" ,rust-lazy-static-1)
                             ("rust-libc" ,rust-libc-0.2)
                             ("rust-log" ,rust-log-0.4)
-                            ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5))))
-    (inputs (list jack-2))
-    (home-page "https://github.com/RustAudio/rust-jack")
-    (synopsis "Rust bindings for the JACK low-latency audio and MIDI system")
-    (description "This package provides bindings for the JACK low-latency
-and MIDI audio server.")
-    (license license:expat)))
+                            ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5))))))
 
 (define-public rust-jack-sys-0.4
   (package
@@ -35257,7 +35280,7 @@ and MIDI audio server.")
                        ("rust-lazy-static" ,rust-lazy-static-1)
                        ("rust-libc" ,rust-libc-0.2)
                        ("rust-libloading" ,rust-libloading-0.7)
-                       ("rust-pkg-config" ,rust-pkg-config-0.3))))
+        ("rust-pkg-config" ,rust-pkg-config-0.3))))
     (native-inputs (list pkg-config))
     (inputs (list jack-2))
     (home-page "https://github.com/RustAudio/rust-jack/tree/main/jack-sys")