3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/aiohue/default.nix

34 lines
562 B
Nix
Raw Normal View History

2021-05-07 18:19:05 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
}:
2018-05-07 11:33:38 +01:00
buildPythonPackage rec {
pname = "aiohue";
2021-05-07 18:19:05 +01:00
version = "2.3.0";
2018-05-07 11:33:38 +01:00
src = fetchPypi {
inherit pname version;
2021-05-07 18:19:05 +01:00
sha256 = "1xinllv2cvxl9fxi15nayzw9lfzijb3m7i49gkkr46qr8xvsavyk";
2018-05-07 11:33:38 +01:00
};
2021-05-07 18:19:05 +01:00
propagatedBuildInputs = [
aiohttp
];
pythonImportsCheck = [
"aiohue"
"aiohue.discovery"
];
# has no tests
doCheck = false;
2018-05-07 11:33:38 +01:00
meta = with lib; {
description = "asyncio package to talk to Philips Hue";
homepage = "https://github.com/balloob/aiohue";
2018-05-07 11:33:38 +01:00
license = licenses.asl20;
};
}