From patchwork Mon Oct 16 16:54:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 54883 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 E83FB27BBEA; Mon, 16 Oct 2023 18:00:37 +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=ham 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 438D227BBE2 for ; Mon, 16 Oct 2023 18:00:37 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsQwP-00039z-GG; Mon, 16 Oct 2023 12:59:41 -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 1qsQwN-000385-QX for guix-patches@gnu.org; Mon, 16 Oct 2023 12:59:39 -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 1qsQwN-0000Pw-Io for guix-patches@gnu.org; Mon, 16 Oct 2023 12:59:39 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qsQwm-00033V-Ej; Mon, 16 Oct 2023 13:00:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66579] [PATCH 10/13] gnu: Add rust-librespot-audio. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 16 Oct 2023 17:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66579 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66579@debbugs.gnu.org Cc: Steve George , efraim@flashner.co.il X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 66579-submit@debbugs.gnu.org id=B66579.169747555211523 (code B ref 66579); Mon, 16 Oct 2023 17:00:04 +0000 Received: (at 66579) by debbugs.gnu.org; 16 Oct 2023 16:59:12 +0000 Received: from localhost ([127.0.0.1]:57737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsQvw-0002zi-G2 for submit@debbugs.gnu.org; Mon, 16 Oct 2023 12:59:12 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:49616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsQvu-0002yk-6K for 66579@debbugs.gnu.org; Mon, 16 Oct 2023 12:59:10 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] 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 1qsQvP-00Cfch-IN for 66579@debbugs.gnu.org; Mon, 16 Oct 2023 18:58:39 +0200 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qsQvP-0006F8-80 for 66579@debbugs.gnu.org; Mon, 16 Oct 2023 18:58:39 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qsQvN-0000Vh-UH; Mon, 16 Oct 2023 18:58:38 +0200 From: Steve George Date: Mon, 16 Oct 2023 17:54:12 +0100 Message-ID: <8019566112382b8c474465e4201ec1bd82e7e81e.1697475045.git.steve@futurile.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <3e60165e-956b-443a-ae07-db86fd7157d2@gmail.com> References: <3e60165e-956b-443a-ae07-db86fd7157d2@gmail.com> 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-librespot-audio): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ffc7891ee8..100a5ee645 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -35587,6 +35587,35 @@ (define-public rust-libradicl-0.4 single-cell and single-nucleus sequencing data.") (license license:bsd-3))) +(define-public rust-librespot-audio-0.4 + (package + (name "rust-librespot-audio") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "librespot-audio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "178djijj7fkg5ca5rhk10rvy9gs797gikvackh5qxsp1al9s6xn1")))) + (build-system cargo-build-system) + (arguments + (list #:skip-build? #f + #:cargo-inputs `(("rust-aes-ctr" ,rust-aes-ctr-0.6) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-librespot-core" ,rust-librespot-core-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/librespot-org/librespot") + (synopsis "The audio fetching logic for Librespot") + (description + "Part of Librespot, an open source client library +for Spotify. This package contains the audio fetching logic.") + (license license:expat))) + (define-public rust-librespot-core-0.4 (package (name "rust-librespot-core")