guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#64248] [PATCH 7/8] gnu: Add rust-rspotify-http.


From: Steve George
Subject: [bug#64248] [PATCH 7/8] gnu: Add rust-rspotify-http.
Date: Fri, 23 Jun 2023 17:56:50 +0100

* 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")
-- 
2.40.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]