guix-commits
[Top][All Lists]
Advanced

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

40/66: gnu: Add rust-jack-sys-0.4.


From: guix-commits
Subject: 40/66: gnu: Add rust-jack-sys-0.4.
Date: Tue, 24 Oct 2023 07:54:58 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 8b6ba317ce4725bb5bdb76ad4b2c279c8dbcda1b
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 23 23:21:22 2023 +0100

    gnu: Add rust-jack-sys-0.4.
    
    * gnu/packages/crates-io.scm (rust-jack-sys-0.4): New variable.
    (rust-jack-sys-0.2): Inherit from rust-jack-sys-0.4.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: I167125355eda25173f0687a872e364cee9c470aa
---
 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++------
 1 file changed, 28 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e7b84b7f4d..042a3aaf36 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35239,8 +35239,35 @@ format.")
 and MIDI audio server.")
     (license license:expat)))
 
+(define-public rust-jack-sys-0.4
+  (package
+    (name "rust-jack-sys")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "jack-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17vaq4i8q5nx39rjqx9sixqn1xraf1vxs3bmrf618v8nzxchbmz9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; cannot find value `library` in this scope
+       #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+                       ("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))))
+    (native-inputs (list pkg-config))
+    (inputs (list jack-2))
+    (home-page "https://github.com/RustAudio/rust-jack/tree/main/jack-sys";)
+    (synopsis "Low-level binding to the JACK audio API")
+    (description "Low-level binding to the JACK audio API.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-jack-sys-0.2
   (package
+    (inherit rust-jack-sys-0.4)
     (name "rust-jack-sys")
     (version "0.2.3")
     (source (origin
@@ -35255,12 +35282,7 @@ and MIDI audio server.")
      (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))))
+                            ("rust-pkg-config" ,rust-pkg-config-0.3))))))
 
 (define-public rust-javascriptcore-rs-sys-0.2
   (package



reply via email to

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