Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, isodate, httpx, loguru, xsdata-pydantic,}:
buildPythonPackage rec { pname = "entsoe-apy"; version = "1.2.0";
src = fetchFromGitHub { owner = "berrij"; repo = "entsoe-apy"; tag = "v${version}"; hash = "sha256-I4M5IwQ/5o+LnHNMjpEM2Cjh81sq8oudDS05CleQXG8="; };
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; };}