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

35 lines
635 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-10-05 20:02:08 +01:00
version = "2.6.3";
2018-05-07 11:33:38 +01:00
src = fetchPypi {
inherit pname version;
2021-10-05 20:02:08 +01:00
sha256 = "sha256-zpwkDKPrE5TFZQO0A1ifTQ7n+TRFpXi3jai3h5plyGM=";
2018-05-07 11:33:38 +01:00
};
2021-05-07 18:19:05 +01:00
propagatedBuildInputs = [
aiohttp
];
pythonImportsCheck = [
"aiohue"
"aiohue.discovery"
];
2021-05-11 19:45:56 +01:00
# Project has no tests
2021-05-07 18:19:05 +01:00
doCheck = false;
2018-05-07 11:33:38 +01:00
meta = with lib; {
2021-05-11 19:45:56 +01: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 11:33:38 +01:00
};
}