From patchwork Mon Oct 30 21:06:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 55671 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 7603E27BBEA; Mon, 30 Oct 2023 21:10:18 +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 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 CEB1E27BBE2 for ; Mon, 30 Oct 2023 21:10:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxZWQ-0006zl-Br; Mon, 30 Oct 2023 17:10:06 -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 1qxZVq-0006oE-Bj for guix-patches@gnu.org; Mon, 30 Oct 2023 17:09:31 -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 1qxZVp-0004t5-03 for guix-patches@gnu.org; Mon, 30 Oct 2023 17:09:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxZWM-0000pM-Ao; Mon, 30 Oct 2023 17:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66839] [PATCH 19/19] gnu: Add rust-spotifyd-0.3. 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:10: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.16987001533071 (code B ref 66839); Mon, 30 Oct 2023 21:10:02 +0000 Received: (at 66839) by debbugs.gnu.org; 30 Oct 2023 21:09:13 +0000 Received: from localhost ([127.0.0.1]:46865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxZVZ-0000nM-8M for submit@debbugs.gnu.org; Mon, 30 Oct 2023 17:09:13 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:47778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxZVX-0000mI-Mp for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 17:09:12 -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 1qxZUu-00Fl1n-Lb for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 22:08:32 +0100 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qxZUu-0001wr-4s for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 22:08:32 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qxZUl-007GyG-HK; Mon, 30 Oct 2023 22:08:23 +0100 From: Steve George Date: Mon, 30 Oct 2023 21:06:25 +0000 Message-ID: <0c8c68253ae1d66404c02703c1187b23dd2ee7a4.1698699810.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-spotifyd-0.3): New variable. --- gnu/packages/rust-apps.scm | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index a06447143a..3eddf99afe 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -2283,6 +2283,63 @@ (define-public skim-0.7 (define-public rust-skim-0.7 (deprecated-package "rust-skim-0.7" skim-0.7)) +(define-public rust-spotifyd-0.3 + (package + (name "spotifyd") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "spotifyd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g6k8xmx8xvc2dpak14y8cc2221djhdflzsjczygvqa9gk5jiadd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-alsa" ,rust-alsa-0.7) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-color-eyre" ,rust-color-eyre-0.6) + ("rust-daemonize" ,rust-daemonize-0.5) + ("rust-dbus" ,rust-dbus-0.9) + ("rust-dbus-crossroads" ,rust-dbus-crossroads-0.5) + ("rust-dbus-tokio" ,rust-dbus-tokio-0.7) + ("rust-fern" ,rust-fern-0.6) + ("rust-futures" ,rust-futures-0.3) + ("rust-gethostname" ,rust-gethostname-0.4) + ("rust-hex" ,rust-hex-0.4) + ("rust-keyring" ,rust-keyring-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-librespot-audio" ,rust-librespot-audio-0.4) + ("rust-librespot-connect" ,rust-librespot-connect-0.4) + ("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-log" ,rust-log-0.4) + ("rust-rspotify" ,rust-rspotify-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-sha-1" ,rust-sha-1-0.10) + ("rust-structopt" ,rust-structopt-0.3) + ("rust-syslog" ,rust-syslog-6) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-toml" ,rust-toml-0.7) + ("rust-url" ,rust-url-2) + ("rust-whoami" ,rust-whoami-1) + ("rust-xdg" ,rust-xdg-2)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10)) + ;; problem in the dependency tree (possibly) rust-chrono if dbus_mpris is enabled + #:features (list "alsa_backend" "pulseaudio_backend" "rodio_backend" + "dbus_keyring"))) + (native-inputs (list pkg-config alsa-lib pulseaudio)) + (inputs (list dbus)) + (home-page "https://github.com/Spotifyd/spotifyd") + (synopsis "Spotify streaming daemon with Spotify Connect support") + (description + "A light-weight daemon that connects to the Spotify music service. A +Spotifyd instance can be controlled by clients that use the Spotify Connect +protocol, which includes the official Spotify mobile apps.") + (license license:gpl3))) + (define-public svd2rust (package (name "svd2rust")