Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, hatchling, aiohttp, cryptography, protobuf, tesla-protocol, pytest-asyncio, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "aiopowerwall"; version = "0.4.1"; pyproject = true;
src = fetchFromGitHub { owner = "Teslemetry"; repo = "aiopowerwall"; tag = "v${finalAttrs.version}"; hash = "sha256-I1TdmsMgCGzBMAnx+QUTHB4UmxunmYnf+VS11kPrc8o="; };
build-system = [ hatchling ];
dependencies = [ aiohttp cryptography protobuf tesla-protocol ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "aiopowerwall" ];
meta = { description = "Async Tesla Powerwall 3 client over the TEDAPI v1r RSA-signed LAN protocol"; homepage = "https://github.com/Teslemetry/aiopowerwall"; changelog = "https://github.com/Teslemetry/aiopowerwall/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jamiemagee ]; };})