3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/aiohue/default.nix
2021-10-06 19:37:50 +02:00

35 lines
635 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
}:
buildPythonPackage rec {
pname = "aiohue";
version = "2.6.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-zpwkDKPrE5TFZQO0A1ifTQ7n+TRFpXi3jai3h5plyGM=";
};
propagatedBuildInputs = [
aiohttp
];
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 ];
};
}