Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 54 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ 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 = [ ]; };}