Merge pull request #148701 from fabaff/hahomematic

python3Packages.hahomematic: init at 0.0.16
This commit is contained in:
Fabian Affolter 2021-12-08 10:35:23 +01:00 committed by GitHub
commit f6486247d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -3494,6 +3494,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 { };