From 8b6ba317ce4725bb5bdb76ad4b2c279c8dbcda1b Mon Sep 17 00:00:00 2001 From: Steve George Date: Mon, 23 Oct 2023 23:21:22 +0100 Subject: 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 Change-Id: I167125355eda25173f0687a872e364cee9c470aa --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) (limited to 'gnu') 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 -- cgit v1.2.3