{ lib, buildPythonPackage, fetchFromGitHub, # build-system setuptools, # dependencies aiohttp, music-assistant-models, orjson, }: buildPythonPackage rec { pname = "music-assistant-client"; version = "1.3.3"; pyproject = true; src = fetchFromGitHub { owner = "music-assistant"; repo = "client"; tag = version; hash = "sha256-f5+25MWuovG/g3PscWt0jls/5Y/Qdt2kq9Ai7/9P4aI="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "0.0.0" "${version}" ''; build-system = [ setuptools ]; dependencies = [ aiohttp music-assistant-models orjson ]; doCheck = false; # no tests pythonImportsCheck = [ "music_assistant_client" ]; meta = { description = "Python client to interact with the Music Assistant Server API"; homepage = "https://github.com/music-assistant/client"; changelog = "https://github.com/music-assistant/client/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = [ ]; }; }