Something went wrong. Try again.
lol
Something went wrong. Try again.
778 B · 36 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637{ lib, aiohttp, buildPythonPackage, fetchFromGitHub, poetry-core,}:
buildPythonPackage rec { pname = "electrickiwi-api"; version = "0.9.14"; pyproject = true;
src = fetchFromGitHub { owner = "mikey0000"; repo = "EK-API"; tag = "v${version}"; hash = "sha256-UXweOz5olwx3ZI2M7eI1n729tqfLiWszV2zTWbrA9CM="; };
build-system = [ poetry-core ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "electrickiwi_api" ];
# Tests require authentication credentials doCheck = false;
meta = { description = "Python library for interfacing with the Electric Kiwi power company API"; homepage = "https://github.com/mikey0000/EK-API"; license = lib.licenses.gpl3Only; maintainers = [ lib.maintainers.jamiemagee ]; };}