22 buildPythonPackage rec {
27 disabled = pythonOlder "3.11";
29 src = fetchFromGitHub {
32 rev = "refs/tags/v${version}";
33 hash = "sha256-7P/V83dGkfJJjZxZtiEwQXIY7CeBZ/fmvTdEjDirKj0=";
37 # Upstream doesn't set a version for the pyproject.toml
38 substituteInPlace pyproject.toml \
39 --replace-fail "0.0.0" "${version}" \
40 --replace-fail "--cov" ""
43 build-system = [ poetry-core ];
55 optional-dependencies = {
69 pythonImportsCheck = [ "wled" ];
72 description = "Asynchronous Python client for WLED";
73 homepage = "https://github.com/frenck/python-wled";
74 changelog = "https://github.com/frenck/python-wled/releases/tag/v${version}";
75 license = licenses.mit;
76 maintainers = with maintainers; [ hexa ];