python312Packages.dio-chacon-wifi-api: init at 1.1.0
Python library for DIO Chacon wifi's protocol for shutters and switches.
This commit is contained in:
parent
812e095056
commit
3d55123591
@ -0,0 +1,48 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
|
||||
# dependencies
|
||||
aiohttp,
|
||||
|
||||
# tests
|
||||
aioresponses,
|
||||
pytest-aiohttp,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dio-chacon-wifi-api";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cnico";
|
||||
repo = "dio-chacon-wifi-api";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-TeunMvkiQw4TzLb2dsAHAg49nUzD3DGiO0DuXKGcICU=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [ aiohttp ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aioresponses
|
||||
pytest-aiohttp
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "dio_chacon_wifi_api" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API via wifi for DIO devices from Chacon. Useful for homeassistant or other automations";
|
||||
homepage = "https://github.com/cnico/dio-chacon-wifi-api";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -3109,6 +3109,8 @@ self: super: with self; {
|
||||
|
||||
dinghy = callPackage ../development/python-modules/dinghy { };
|
||||
|
||||
dio-chacon-wifi-api = callPackage ../development/python-modules/dio-chacon-wifi-api { };
|
||||
|
||||
diofant = callPackage ../development/python-modules/diofant { };
|
||||
|
||||
dipy = callPackage ../development/python-modules/dipy { };
|
||||
|
Loading…
Reference in New Issue
Block a user