Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 51 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, aiohttp, async-timeout, buildPythonPackage, fetchFromGitHub, poetry-core, pytest-asyncio, pytest-timeout, pytest-cov-stub, pytestCheckHook, python-dotenv,}:
buildPythonPackage rec { pname = "aiopvpc"; version = "4.3.1"; pyproject = true;
src = fetchFromGitHub { owner = "azogue"; repo = "aiopvpc"; tag = "v${version}"; hash = "sha256-1xeXfhoXRfJ7vrpRPeYmwcAGjL09iNCOm/f4pPvuZLU="; };
build-system = [ poetry-core ];
dependencies = [ aiohttp async-timeout ];
nativeCheckInputs = [ pytest-asyncio pytest-timeout pytest-cov-stub pytestCheckHook python-dotenv ];
pythonImportsCheck = [ "aiopvpc" ];
meta = { description = "Python module to download Spanish electricity hourly prices (PVPC)"; homepage = "https://github.com/azogue/aiopvpc"; changelog = "https://github.com/azogue/aiopvpc/blob/v${version}/CHANGELOG.md"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; };}