Subject: [PATCH 01/19] gnu: Add rust-librespot-connect-0.4.

From: Steve George <[email-masked]>
Date: Mon, 30 Oct 2023 21:06:07 +0000

* gnu/packages/crates-io.scm (rust-librespot-connect-0.4): New variable.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc26147157..7306c0d4d2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37823,6 +37823,39 @@ (define-public rust-librespot-audio-0.4
 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 "The 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")

base-commit: 7e9783b2ab8c747ef340daa749bdeba9e924ec57
-- 
2.41.0