From patchwork Mon Oct 16 16:54:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 54878 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 3063F27BBEA; Mon, 16 Oct 2023 18:00:15 +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 959E227BBE9 for ; Mon, 16 Oct 2023 18:00:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsQwR-0003B0-3Z; Mon, 16 Oct 2023 12:59:43 -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 1qsQwQ-0003AZ-02 for guix-patches@gnu.org; Mon, 16 Oct 2023 12:59: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 1qsQwP-0000QZ-L1 for guix-patches@gnu.org; Mon, 16 Oct 2023 12:59:41 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qsQwo-00034A-G5; Mon, 16 Oct 2023 13:00:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66579] [PATCH 13/13] gnu: Add rust-librespot-discovery. 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:06 +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.169747557211613 (code B ref 66579); Mon, 16 Oct 2023 17:00:06 +0000 Received: (at 66579) by debbugs.gnu.org; 16 Oct 2023 16:59:32 +0000 Received: from localhost ([127.0.0.1]:57753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsQwF-00031A-JK for submit@debbugs.gnu.org; Mon, 16 Oct 2023 12:59:31 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:45758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsQwD-00030S-HE for 66579@debbugs.gnu.org; Mon, 16 Oct 2023 12:59:30 -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 1qsQvi-00CfdN-VB for 66579@debbugs.gnu.org; Mon, 16 Oct 2023 18:58:58 +0200 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qsQvi-0002NA-JV for 66579@debbugs.gnu.org; Mon, 16 Oct 2023 18:58:58 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qsQvU-0000WI-IZ; Mon, 16 Oct 2023 18:58:44 +0200 From: Steve George Date: Mon, 16 Oct 2023 17:54:15 +0100 Message-ID: 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-discovery): New variable. --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4e1b2460b8..4774187ab0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -35720,6 +35720,45 @@ (define-public rust-librespot-core-0.4 channel and session.") (license license:expat))) +(define-public rust-librespot-discovery-0.4 + (package + (name "rust-librespot-discovery") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "librespot-discovery" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01igbv0xf3vj046jvblbr09cgmv25mlfajyb2903cl31iz8pga1a")))) + (build-system cargo-build-system) + (arguments + (list #:skip-build? #f + #:cargo-inputs `(("rust-aes-ctr" ,rust-aes-ctr-0.6) + ("rust-base64" ,rust-base64-0.13) + ("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-libmdns" ,rust-libmdns-0.7) + ("rust-librespot-core" ,rust-librespot-core-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-dns-sd" ,rust-dns-sd-0.1)) + #:cargo-development-inputs `(("rust-futures" ,rust-futures-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-simple-logger" ,rust-simple-logger-2) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/librespot-org/librespot") + (synopsis "The discovery logic of Librespot") + (description "Part of Librespot, an open source client library for +Spotify. This package contains the discovery logic.") + (license license:expat))) + (define-public rust-librespot-protocol-0.4 (package (name "rust-librespot-protocol")