guix-patches
[Top][All Lists]
Advanced

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

[bug#64248] [PATCH 4/8] gnu: Add rust-rspotify-model.


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

* gnu/packages/crates-io.scm (rust-rspotify-model): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b6ed862306..16b7afea78 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52890,6 +52890,32 @@ (define-public rust-rspec-1
 rust.")
     (license license:mpl2.0)))
 
+(define-public rust-rspotify-model-0.11
+  (package
+    (name "rust-rspotify-model")
+    (version "0.11.7")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "rspotify-model" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1j0fy5n3f0gwq2qnn4qss0sx5kvbghfr8149jb0bp8azzvlg3gbg"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-chrono" ,rust-chrono-0.4)
+                            ("rust-enum-dispatch" ,rust-enum-dispatch-0.3)
+                            ("rust-serde" ,rust-serde-1)
+                            ("rust-serde-json" ,rust-serde-json-1)
+                            ("rust-strum" ,rust-strum-0.24)
+                            ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/ramsayleung/rspotify";)
+    (synopsis "API endpoint response model object for RSpotify")
+    (description "RSpotify is a wrapper for the Spotify Web API.  This crate
+contains the API endpoint response objects.")
+    (license license:expat)))
+
 (define-public rust-rstar-0.9
   (package
     (name "rust-rstar")
-- 
2.40.1






reply via email to

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