2021-05-07 19:19:05 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, aiohttp
|
|
|
|
}:
|
2018-05-07 12:33:38 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiohue";
|
2021-05-29 11:11:51 +02:00
|
|
|
version = "2.5.0";
|
2018-05-07 12:33:38 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-05-29 11:11:51 +02:00
|
|
|
sha256 = "sha256-4q5JvkUmEoOomcwblXhvB/5Qdr6aMR0lDb4t4bjDjw8=";
|
2018-05-07 12:33:38 +02:00
|
|
|
};
|
|
|
|
|
2021-05-07 19:19:05 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"aiohue"
|
|
|
|
"aiohue.discovery"
|
|
|
|
];
|
|
|
|
|
2021-05-11 20:45:56 +02:00
|
|
|
# Project has no tests
|
2021-05-07 19:19:05 +02:00
|
|
|
doCheck = false;
|
2018-05-07 12:33:38 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
2021-05-11 20:45:56 +02:00
|
|
|
description = "Python package to talk to Philips Hue";
|
|
|
|
homepage = "https://github.com/home-assistant-libs/aiohue";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2018-05-07 12:33:38 +02:00
|
|
|
};
|
|
|
|
}
|