summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/aiohue/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/aiohue/default.nix')
-rw-r--r--pkgs/development/python-modules/aiohue/default.nix29
1 files changed, 22 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/aiohue/default.nix b/pkgs/development/python-modules/aiohue/default.nix
index b495bf4df463..65baaec37190 100644
--- a/pkgs/development/python-modules/aiohue/default.nix
+++ b/pkgs/development/python-modules/aiohue/default.nix
@@ -1,19 +1,34 @@
-{ lib, buildPythonPackage, fetchPypi, aiohttp }:
+{ lib
+, buildPythonPackage
+, fetchPypi
+, aiohttp
+}:
buildPythonPackage rec {
pname = "aiohue";
- version = "2.2.0";
+ version = "2.3.1";
src = fetchPypi {
inherit pname version;
- sha256 = "35696d04d6eb0328b7031ea3c0a3cfe5d83dfcf62f920522e4767d165c6bc529";
+ sha256 = "1qxvqqsflcn263yg7r8vvfc2c2fl3rh4dkzwzh926ijnbc2sk4nm";
};
- propagatedBuildInputs = [ aiohttp ];
+ propagatedBuildInputs = [
+ aiohttp
+ ];
+
+ pythonImportsCheck = [
+ "aiohue"
+ "aiohue.discovery"
+ ];
+
+ # Project has no tests
+ doCheck = false;
meta = with lib; {
- description = "asyncio package to talk to Philips Hue";
- homepage = "https://github.com/balloob/aiohue";
- license = licenses.asl20;
+ description = "Python package to talk to Philips Hue";
+ homepage = "https://github.com/home-assistant-libs/aiohue";
+ license = with licenses; [ asl20 ];
+ maintainers = with maintainers; [ fab ];
};
}