From patchwork Fri Oct 20 20:28:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 55096 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 6CED927BBEA; Fri, 20 Oct 2023 21:32:26 +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 DDBEA27BBE2 for ; Fri, 20 Oct 2023 21:32:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtwAF-0003xx-FC; Fri, 20 Oct 2023 16:32:11 -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 1qtw9q-0003Zp-G2 for guix-patches@gnu.org; Fri, 20 Oct 2023 16:31:46 -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 1qtw9l-0004xu-8R for guix-patches@gnu.org; Fri, 20 Oct 2023 16:31:43 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtwAC-0004yc-JQ; Fri, 20 Oct 2023 16:32:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66579] [PATCH v2 14/15] 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: Fri, 20 Oct 2023 20:32:08 +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@futurile.net, efraim@flashner.co.il X-Debbugs-Original-Cc: guix-patches@gnu.org, Steve George X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 66579-submit@debbugs.gnu.org id=B66579.169783388318713 (code B ref 66579); Fri, 20 Oct 2023 20:32:08 +0000 Received: (at 66579) by debbugs.gnu.org; 20 Oct 2023 20:31:23 +0000 Received: from localhost ([127.0.0.1]:41657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtw9T-0004rf-A0 for submit@debbugs.gnu.org; Fri, 20 Oct 2023 16:31:23 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:54840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtw9K-0004p5-FK for 66579@debbugs.gnu.org; Fri, 20 Oct 2023 16:31:14 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qtw8n-006yZ3-67; Fri, 20 Oct 2023 22:30:41 +0200 Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qtw8m-0001jj-R4; Fri, 20 Oct 2023 22:30:41 +0200 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qtw8X-00CqND-VY; Fri, 20 Oct 2023 22:30:27 +0200 From: Steve George Date: Fri, 20 Oct 2023 21:28:00 +0100 Message-ID: <170701f8e6b894ca32159ee9243f044976a265c3.1697832331.git.steve@futurile.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: 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 527ced031c..7729e1a569 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -35748,6 +35748,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")