15 buildPythonPackage rec {
20 disabled = pythonOlder "3.11";
22 src = fetchFromGitHub {
23 owner = "home-assistant-libs";
25 rev = "refs/tags/${version}";
26 hash = "sha256-uS6pyJOntjbGa9UU1g53nuzgfP6AKAzN4meHrZY6Uic=";
30 substituteInPlace pyproject.toml \
31 --replace-fail 'version = "0.0.0"' 'version = "${version}"' \
32 --replace-fail "--cov" ""
35 build-system = [ setuptools ];
49 pythonImportsCheck = [
55 # File are prefixed with test_
60 description = "Python package to talk to Philips Hue";
61 homepage = "https://github.com/home-assistant-libs/aiohue";
62 changelog = "https://github.com/home-assistant-libs/aiohue/releases/tag/${version}";
63 license = with licenses; [ asl20 ];
64 maintainers = with maintainers; [ fab ];