Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 52 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, cyclopts, fetchFromGitHub, hatchling, httpx, mashumaro, pytest-asyncio, pytest-httpx, pytestCheckHook, rich,}:
buildPythonPackage (finalAttrs: { pname = "connect-box3"; version = "0.2.1"; pyproject = true;
src = fetchFromGitHub { owner = "home-assistant-ecosystem"; repo = "python-connect-box3"; tag = finalAttrs.version; hash = "sha256-eLrCMziV/+maLIded1n0248Xb14uVBps/gzTUz8NMMc="; };
build-system = [ hatchling ];
dependencies = [ cyclopts httpx mashumaro rich ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio pytest-httpx ];
pythonImportsCheck = [ "connect_box3" ];
meta = { description = "Interact with a Connect Box 3 modem/router"; homepage = "https://github.com/home-assistant-ecosystem/python-connect-box3"; changelog = "https://github.com/home-assistant-ecosystem/python-connect-box3/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "connect-box"; };})