nixpkgs/pkgs/development/python-modules/aiohue/default.nix

35 lines
636 B
Nix
Raw Normal View History

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-08-02 22:52:54 +02:00
version = "2.6.1";
2018-05-07 12:33:38 +02:00
src = fetchPypi {
inherit pname version;
2021-08-02 22:52:54 +02:00
sha256 = "0101bw2n6vd3c0p323qqr61wwraja48xbrwcw5sn7i5sa3ygfx0k";
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
};
}