From 7b9d920340ceb2adc7e429e37a5faf0d6004dca1 Mon Sep 17 00:00:00 2001 From: Steve George Date: Mon, 30 Oct 2023 21:06:07 +0000 Subject: [PATCH] gnu: Add rust-librespot-connect-0.4. * gnu/packages/crates-io.scm (rust-librespot-connect-0.4): New variable. Change-Id: Id941f6a9865adfcb72df41fea017f1d45d6dc2c3 --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fb923a603d..a4f4ce7aa6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -34,6 +34,7 @@ ;;; Copyright © 2023 Arnav Andrew Jose ;;; Copyright © 2023 Wilko Meyer ;;; Copyright © 2023 Jaeme Sifat +;;; Copyright © 2023 Steve George ;;; ;;; This file is part of GNU Guix. ;;; @@ -40274,6 +40275,39 @@ single-cell and single-nucleus sequencing data.") 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 "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")