Merge pull request #146738 from fabaff/halohome

python3Packages.halohome: init at 0.4.0
This commit is contained in:
Fabian Affolter 2021-11-22 09:42:13 +01:00 committed by GitHub
commit 3972793dd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, aiohttp
, bleak
, buildPythonPackage
, csrmesh
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "halohome";
version = "0.4.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "nayaverdier";
repo = pname;
rev = version;
sha256 = "W7cqBJmoBUT0VvXeNKxUK0FfAuprjfvFv6rgyL2gqYQ=";
};
propagatedBuildInputs = [
aiohttp
bleak
csrmesh
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"halohome"
];
meta = with lib; {
description = "Python library to control Eaton HALO Home Smart Lights";
homepage = "https://github.com/nayaverdier/halohome";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -3460,6 +3460,8 @@ in {
halo = callPackage ../development/python-modules/halo { };
halohome = callPackage ../development/python-modules/halohome { };
handout = callPackage ../development/python-modules/handout { };
hangups = callPackage ../development/python-modules/hangups { };