Something went wrong. Try again.
lol
Something went wrong. Try again.
945 B · 48 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub,
# build-system poetry-core,
# dependencies aiohttp,
# tests aioresponses, pytest-aiohttp, pytestCheckHook,}:
buildPythonPackage rec { pname = "dio-chacon-wifi-api"; version = "1.2.2"; pyproject = true;
src = fetchFromGitHub { owner = "cnico"; repo = "dio-chacon-wifi-api"; tag = "v${version}"; hash = "sha256-YlomB3/EBX2tFifjcF38q+sr2z1bHwUjmqyNE2wTp90="; };
build-system = [ poetry-core ];
dependencies = [ aiohttp ];
nativeCheckInputs = [ aioresponses pytest-aiohttp pytestCheckHook ];
pythonImportsCheck = [ "dio_chacon_wifi_api" ];
meta = { 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 = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ hexa ]; };}