parent
2707eaa112
commit
c1d0a084a9
@ -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 ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue