depot/third_party/nixpkgs/pkgs/development/python-modules/aiohue/default.nix
Default email 2495e3f88b Project import generated by Copybara.
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
2022-01-03 17:56:52 +01:00

36 lines
676 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, asyncio-throttle
}:
buildPythonPackage rec {
pname = "aiohue";
version = "3.0.11";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-McC5DX3Cti9eGpPniywNY2DvbAqHSFwhek85TJN/zn0=";
};
propagatedBuildInputs = [
aiohttp
asyncio-throttle
];
pythonImportsCheck = [
"aiohue"
"aiohue.discovery"
];
# Project has no tests
doCheck = false;
meta = with lib; {
description = "Python package to talk to Philips Hue";
homepage = "https://github.com/home-assistant-libs/aiohue";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}