From patchwork Fri Jun 23 16:56:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 51238 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 0A11227BBE9; Fri, 23 Jun 2023 17:58:46 +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 AEA9127BBE2 for ; Fri, 23 Jun 2023 17:58:44 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCk6r-0000jS-KX; Fri, 23 Jun 2023 12:58:09 -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 1qCk6n-0000jA-5w for guix-patches@gnu.org; Fri, 23 Jun 2023 12:58:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCk6m-0006re-Tr for guix-patches@gnu.org; Fri, 23 Jun 2023 12:58:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCk6m-0004Hr-PM; Fri, 23 Jun 2023 12:58:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64248] [PATCH 7/8] gnu: Add rust-rspotify-http. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Fri, 23 Jun 2023 16:58:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64248 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 64248@debbugs.gnu.org Cc: Steve George , efraim@flashner.co.il X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 64248-submit@debbugs.gnu.org id=B64248.168753945716384 (code B ref 64248); Fri, 23 Jun 2023 16:58:04 +0000 Received: (at 64248) by debbugs.gnu.org; 23 Jun 2023 16:57:37 +0000 Received: from localhost ([127.0.0.1]:39468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCk6K-0004G6-Vq for submit@debbugs.gnu.org; Fri, 23 Jun 2023 12:57:37 -0400 Received: from mailtransmit05.runbox.com ([185.226.149.38]:34900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCk69-0004El-JQ for 64248@debbugs.gnu.org; Fri, 23 Jun 2023 12:57:25 -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 1qCk64-006yq4-0c for 64248@debbugs.gnu.org; Fri, 23 Jun 2023 18:57:20 +0200 Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qCk63-00057P-Mv for 64248@debbugs.gnu.org; Fri, 23 Jun 2023 18:57:19 +0200 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1qCk5r-0000JJ-Ei; Fri, 23 Jun 2023 18:57:07 +0200 From: Steve George Date: Fri, 23 Jun 2023 17:56:50 +0100 Message-Id: <4db08d197a92451c5dac6687d67dccedb314fce7.1687539092.git.steve@futurile.net> X-Mailer: git-send-email 2.40.1 In-Reply-To: <50613bf2-90f6-c885-28a9-6eca1d487a07@futurile.net> References: <50613bf2-90f6-c885-28a9-6eca1d487a07@futurile.net> 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-rspotify-http): New variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 41646c69c6..7ce924a70b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -52918,6 +52918,36 @@ (define-public rust-rspec-1 rust.") (license license:mpl2.0))) +(define-public rust-rspotify-http-0.11 + (package + (name "rust-rspotify-http") + (version "0.11.7") + (source (origin + (method url-fetch) + (uri (crate-uri "rspotify-http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1a1xdvnlksb0gbkyrw9q4l7fyy8ba0mfsjs71qv2r6bbpadij0d8")))) + (build-system cargo-build-system) + (arguments + (list #:skip-build? #f + #:cargo-inputs `(("rust-async-trait" ,rust-async-trait-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-maybe-async" ,rust-maybe-async-0.2) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-ureq" ,rust-ureq-2)) + #:cargo-development-inputs `(("rust-rspotify-model" ,rust-rspotify-model-0.11) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs (list pkg-config openssl)) + (home-page "https://github.com/ramsayleung/rspotify") + (synopsis "HTTP compatibility layer for RSpotify") + (description "RSpotify is a wrapper for the Spotify Web API. This +package contains a HTTP compatibility layer for RSpotify.") + (license license:expat))) + (define-public rust-rspotify-macros-0.11 (package (name "rust-rspotify-macros")