summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-06-23 17:56:50 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-02 11:40:12 +0300
commit304da4f1e35cd0fc6d4eb5d51bd0a6f2c82edf2f (patch)
tree3b53ace3678e674449361d251fb87ee582c1c6c1 /gnu
parenta7152f722fdc90345172343bc62f5e596a06e67c (diff)
downloadguix-304da4f1e35cd0fc6d4eb5d51bd0a6f2c82edf2f.tar.gz
gnu: Add rust-rspotify-http-0.11.
* gnu/packages/crates-io.scm (rust-rspotify-http-0.11): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a175c797da..fac179040a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55155,6 +55155,37 @@ can handle huge texts and memory-incoherent edits with ease.")
 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 #: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")