2021-12-19 01:06:50 +00:00
|
|
|
{ lib
|
2022-01-07 04:07:37 +00:00
|
|
|
, aiohttp
|
2021-12-19 01:06:50 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
2022-01-07 04:07:37 +00:00
|
|
|
, pydevccu
|
|
|
|
, pytest-aiohttp
|
|
|
|
, pytestCheckHook
|
2022-01-26 04:04:25 +00:00
|
|
|
, python-slugify
|
2021-12-19 01:06:50 +00:00
|
|
|
, pythonOlder
|
|
|
|
, voluptuous
|
|
|
|
, websocket-client
|
|
|
|
, xmltodict
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hahomematic";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "0.28.1";
|
2021-12-19 01:06:50 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2021-12-30 13:39:12 +00:00
|
|
|
disabled = pythonOlder "3.9";
|
2021-12-19 01:06:50 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "danielperna84";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-02-10 20:34:41 +00:00
|
|
|
sha256 = "sha256-zYSJMP/uwgyIHdI8E7NHLaHrpAQeLpaEcXXXlzIO5ns=";
|
2021-12-19 01:06:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
2022-01-26 04:04:25 +00:00
|
|
|
python-slugify
|
2021-12-19 01:06:50 +00:00
|
|
|
voluptuous
|
|
|
|
];
|
|
|
|
|
2022-01-07 04:07:37 +00:00
|
|
|
checkInputs = [
|
|
|
|
pydevccu
|
|
|
|
pytest-aiohttp
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2021-12-19 01:06:50 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|