Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
985 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, pdm-pep517, aiohttp, async-timeout,}:
buildPythonPackage rec { pname = "imeon-inverter-api"; version = "0.3.14"; pyproject = true;
src = fetchFromGitHub { owner = "Imeon-Inverters-for-Home-Assistant"; repo = "inverter-api"; tag = version; hash = "sha256-zjG9rcKdV+o5M3yIRaxz93sP3u4Vfs8JhSSYzKdQi2I="; };
build-system = [ pdm-pep517 ];
dependencies = [ aiohttp async-timeout ];
pythonImportsCheck = [ "imeon_inverter_api" ];
# upstream has no tests doCheck = false;
meta = { changelog = "https://github.com/Imeon-Inverters-for-Home-Assistant/inverter-api/releases/tag/${src.tag}"; description = "Standalone API to collect data from the Imeon Energy Inverters that uses HTTP POST/GET"; homepage = "https://github.com/Imeon-Inverters-for-Home-Assistant/inverter-api"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; };}