python3Packages.hahomematic: init at 0.0.16

This commit is contained in:
Fabian Affolter 2021-12-05 13:22:15 +01:00
parent 2707eaa112
commit c1d0a084a9
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, pythonOlder
, voluptuous
, websocket-client
, xmltodict
}:
buildPythonPackage rec {
pname = "hahomematic";
version = "0.0.16";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "danielperna84";
repo = pname;
rev = version;
sha256 = "sha256-c+0CjERZX55A1Y73tqf6awe68TPw5pqXEIlBD5C8L8c=";
};
propagatedBuildInputs = [
aiohttp
voluptuous
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"hahomematic"
];
meta = with lib; {
description = "Python module to interact with HomeMatic devices";
homepage = "https://github.com/danielperna84/hahomematic";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -3490,6 +3490,8 @@ in {
ha-philipsjs = callPackage ../development/python-modules/ha-philipsjs{ };
hahomematic = callPackage ../development/python-modules/hahomematic { };
halo = callPackage ../development/python-modules/halo { };
halohome = callPackage ../development/python-modules/halohome { };