guix-commits
[Top][All Lists]
Advanced

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

06/07: gnu: Add rust-rspotify-http-0.11.


From: guix-commits
Subject: 06/07: gnu: Add rust-rspotify-http-0.11.
Date: Mon, 2 Oct 2023 04:41:35 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 304da4f1e35cd0fc6d4eb5d51bd0a6f2c82edf2f
Author: Steve George <steve@futurile.net>
AuthorDate: Fri Jun 23 17:56:50 2023 +0100

    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>
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

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



reply via email to

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