Something went wrong. Try again.
lol
Something went wrong. Try again.
855 B · 47 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, isodate, httpx, loguru, xsdata-pydantic,}:
buildPythonPackage rec { pname = "entsoe-apy"; version = "0.9.2";
src = fetchFromGitHub { owner = "berrij"; repo = "entsoe-apy"; tag = "v${version}"; hash = "sha256-szJ3UlYJjwNZMWHJ81Gp4AgdB7JQyDP0NL0MpmjTQGY="; };
pyproject = true; build-system = [ setuptools ];
dependencies = [ httpx loguru xsdata-pydantic isodate ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "entsoe" ];
meta = { description = "Python Package to Query the ENTSO-E API"; homepage = "https://github.com/berrij/entsoe-apy"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ berrij ]; platforms = lib.platforms.all; };}