From patchwork Mon Oct 30 21:06:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 55656 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 0CDE627BBEC; Mon, 30 Oct 2023 21:07:57 +0000 (GMT) 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,TVD_SPACE_RATIO 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 705CD27BBE9 for ; Mon, 30 Oct 2023 21:07:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxZTv-0005sU-3C; Mon, 30 Oct 2023 17:07:31 -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 1qxZTt-0005sD-GD for guix-patches@gnu.org; Mon, 30 Oct 2023 17:07:29 -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 1qxZTt-0004Yg-8B for guix-patches@gnu.org; Mon, 30 Oct 2023 17:07:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxZUQ-0000fm-Ch; Mon, 30 Oct 2023 17:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66839] [PATCH 01/19] gnu: Add rust-librespot-connect-0.4. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 30 Oct 2023 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66839 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66839@debbugs.gnu.org Cc: Steve George , efraim@flashner.co.il X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 66839-submit@debbugs.gnu.org id=B66839.16987000782562 (code B ref 66839); Mon, 30 Oct 2023 21:08:02 +0000 Received: (at 66839) by debbugs.gnu.org; 30 Oct 2023 21:07:58 +0000 Received: from localhost ([127.0.0.1]:46783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxZUL-0000fB-I6 for submit@debbugs.gnu.org; Mon, 30 Oct 2023 17:07:57 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:54042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxZUJ-0000em-Kd for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 17:07:56 -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 1qxZTg-00FbI3-JH for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 22:07:16 +0100 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qxZTg-0001r4-2R for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 22:07:16 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qxZTQ-006vHY-GV; Mon, 30 Oct 2023 22:07:00 +0100 From: Steve George Date: Mon, 30 Oct 2023 21:06:07 +0000 Message-ID: <77c09c792397b22868b3f5641e2fd596e18633ce.1698699809.git.steve@futurile.net> 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-librespot-connect-0.4): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) base-commit: 7e9783b2ab8c747ef340daa749bdeba9e924ec57 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fc26147157..7306c0d4d2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -37823,6 +37823,39 @@ (define-public rust-librespot-audio-0.4 package contains the audio fetching logic.") (license license:expat))) +(define-public rust-librespot-connect-0.4 + (package + (name "rust-librespot-connect") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "librespot-connect" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v6k20173hx27g34d24vkb4a67av7dbr3mfmng64b51y8imgpyjg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-librespot-core" ,rust-librespot-core-0.4) + ("rust-librespot-discovery" ,rust-librespot-discovery-0.4) + ("rust-librespot-playback" ,rust-librespot-playback-0.4) + ("rust-librespot-protocol" ,rust-librespot-protocol-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-protobuf" ,rust-protobuf-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1)))) + (home-page "https://github.com/librespot-org/librespot") + (synopsis "The discovery and Spotify Connect logic for Librespot") + (description + "Librespot is an open source client library for Spotify. This package +contains the discovery and Spotify Connect logic.") + (license license:expat))) + (define-public rust-librespot-core-0.4 (package (name "rust-librespot-core")