1{ lib
2, buildPythonPackage
3, fetchPypi
4, aiohttp
5}:
6
7buildPythonPackage rec {
8 pname = "aiohue";
9 version = "2.6.3";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "sha256-zpwkDKPrE5TFZQO0A1ifTQ7n+TRFpXi3jai3h5plyGM=";
14 };
15
16 propagatedBuildInputs = [
17 aiohttp
18 ];
19
20 pythonImportsCheck = [
21 "aiohue"
22 "aiohue.discovery"
23 ];
24
25 # Project has no tests
26 doCheck = false;
27
28 meta = with lib; {
29 description = "Python package to talk to Philips Hue";
30 homepage = "https://github.com/home-assistant-libs/aiohue";
31 license = with licenses; [ asl20 ];
32 maintainers = with maintainers; [ fab ];
33 };
34}