Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
949 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, aiohttp, poetry-core, pytest-asyncio,}:
buildPythonPackage rec { pname = "apsystems-ez1"; version = "2.7.0"; pyproject = true;
src = fetchFromGitHub { owner = "SonnenladenGmbH"; repo = "APsystems-EZ1-API"; tag = version; hash = "sha256-ry3sQPkYnH0asmE41lEQA5G2tk07eTpsBiuJbVIjrXU="; };
build-system = [ poetry-core ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "APsystemsEZ1" ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio ];
meta = { changelog = "https://github.com/SonnenladenGmbH/APsystems-EZ1-API/releases/tag/${src.tag}"; description = "Streamlined interface for interacting with the local API of APsystems EZ1 Microinverters"; homepage = "https://github.com/SonnenladenGmbH/APsystems-EZ1-API"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ pyrox0 ]; };}