18 buildPythonPackage rec {
19 pname = "aiohasupervisor";
23 disabled = pythonOlder "3.12";
25 src = fetchFromGitHub {
26 owner = "home-assistant-libs";
27 repo = "python-supervisor-client";
29 hash = "sha256-72YRaTlgRJ8liQ1q+Hx1iCG8Av7wWk61t306fYT9gss=";
33 substituteInPlace pyproject.toml \
34 --replace-fail 'version = "0.0.0"' 'version = "${version}"' \
35 --replace-fail "setuptools~=68.0.0" "setuptools>=68.0.0" \
36 --replace-fail "wheel~=0.40.0" "wheel>=0.40.0"
39 build-system = [ setuptools ];
56 # Import issue, check with next release
59 pythonImportsCheck = [ "aiohasupervisor" ];
62 changelog = "https://github.com/home-assistant-libs/python-supervisor-client/releases/tag/${src.tag}";
63 description = "Client for Home Assistant Supervisor";
64 homepage = "https://github.com/home-assistant-libs/python-supervisor-client";
65 license = lib.licenses.asl20;
66 maintainers = with lib.maintainers; [ fab ];