Subject: [bug#76746] [PATCH 09/13] gnu: Add python-soundcloud-v2.

From: 45mg <[email-masked]>
Date: Wed, 5 Mar 2025 00:43:12 +0530

* gnu/packages/python-web.scm (python-soundcloud-v2): New variable.

Change-Id: I6126d879bb6f44155e61e6eaed2cc9fe51c4103e
---
 gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7755898441..41b141e012 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -10704,6 +10704,31 @@ (define-public python-syncedlyrics
 music.")
     (license license:expat)))
 
+(define-public python-soundcloud-v2
+  (package
+    (name "python-soundcloud-v2")
+    (version "1.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "soundcloud-v2" version))
+       (sha256
+        (base32 "0hw2wxrg0rgj0x1ccy0lz0rws39byzs1din1573rxz0gdha169a6"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-poetry-core python-setuptools python-wheel))
+    (propagated-inputs (list python-dacite
+                             python-dateutil
+                             python-rapidfuzz
+                             python-requests))
+    (arguments
+     (list #:tests? #f))  ;Tests require network
+    (home-page "https://github.com/7x11x13/soundcloud.py")
+    (synopsis "Unofficial wrapper for internal v2 SoundCloud API")
+    (description
+     "A Python wrapper for some of the internal v2 SoundCloud API (read/GET
+only methods).  Does not require an API key.")
+    (license license:expat)))
+
 (define-public python-whatthepatch
   (package
     (name "python-whatthepatch")
-- 
2.48.1