music-assistant: add soundcloud (#494559)

This commit is contained in:
Sandro
2026-03-03 15:25:33 +00:00
committed by GitHub
3 changed files with 44 additions and 2 deletions
@@ -155,8 +155,10 @@
defusedxml
soco
];
soundcloud = ps: [
]; # missing soundcloudpy
soundcloud =
ps: with ps; [
soundcloudpy
];
spotify =
ps: with ps; [
pkce
@@ -0,0 +1,38 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
aiohttp,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "soundcloudpy";
version = "0.1.4";
pyproject = true;
src = fetchFromGitHub {
owner = "music-assistant";
repo = "soundcloudpy";
tag = finalAttrs.version;
hash = "sha256-NuL6VIAssvYiGWqioMtf3Brw/G8Vt2P4/57l3k3db9g=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
];
# has no tests
doCheck = false;
pythonImportsCheck = [ "soundcloudpy" ];
meta = {
description = "Client for async connection to the Soundcloud api";
homepage = "https://github.com/music-assistant/SoundcloudPy";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ SuperSandro2000 ];
};
})
+2
View File
@@ -17899,6 +17899,8 @@ self: super: with self; {
soundcloud-v2 = callPackage ../development/python-modules/soundcloud-v2 { };
soundcloudpy = callPackage ../development/python-modules/soundcloudpy { };
sounddevice = callPackage ../development/python-modules/sounddevice { };
soundfile = callPackage ../development/python-modules/soundfile { };