From patchwork Mon Oct 23 22:21:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 55205 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5E51327BBE9; Mon, 23 Oct 2023 23:27:40 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 387D827BBE2 for ; Mon, 23 Oct 2023 23:27:39 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qv3Mm-0003iE-Ku; Mon, 23 Oct 2023 18:25:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qv3Mk-0003eg-Qp for guix-patches@gnu.org; Mon, 23 Oct 2023 18:25:42 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qv3Mk-0004xm-Is for guix-patches@gnu.org; Mon, 23 Oct 2023 18:25:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qv3ND-0000zX-Oi; Mon, 23 Oct 2023 18:26:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66717] [PATCH 38/64] gnu: Add rust-jack-0.10. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 23 Oct 2023 22:26:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66717 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66717@debbugs.gnu.org Cc: Steve George , efraim@flashner.co.il X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 66717-submit@debbugs.gnu.org id=B66717.16980999603571 (code B ref 66717); Mon, 23 Oct 2023 22:26:11 +0000 Received: (at 66717) by debbugs.gnu.org; 23 Oct 2023 22:26:00 +0000 Received: from localhost ([127.0.0.1]:52326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qv3N1-0000vR-UE for submit@debbugs.gnu.org; Mon, 23 Oct 2023 18:26:00 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:60498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qv3Mn-0000tA-KP for 66717@debbugs.gnu.org; Mon, 23 Oct 2023 18:25:46 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qv3ME-00F9ec-Nt for 66717@debbugs.gnu.org; Tue, 24 Oct 2023 00:25:10 +0200 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qv3ME-00014H-59 for 66717@debbugs.gnu.org; Tue, 24 Oct 2023 00:25:10 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qv3Lp-004OSy-3X; Tue, 24 Oct 2023 00:24:45 +0200 From: Steve George Date: Mon, 23 Oct 2023 23:21:23 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-jack-0.10): New variable. --- gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5eee503436..eb6509c837 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -35463,8 +35463,38 @@ (define-public rust-ivf-0.1 (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 @@ -35474,7 +35504,6 @@ (define-public rust-jack-0.8 (sha256 (base32 "0lz10s0n2gy128m65pf96is9ip00vfgvnkfja0y9ydmv24pw2ajx")))) - (build-system cargo-build-system) (arguments (list #:tests? #f #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1) @@ -35482,13 +35511,7 @@ (define-public rust-jack-0.8 ("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 @@ -35508,7 +35531,7 @@ (define-public rust-jack-sys-0.4 ("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")