Commit 856a51d4 authored by Jonathan Berrisch's avatar Jonathan Berrisch Committed by Sigmanificient
Browse files

python313Packages.entsoe-apy: init at 0.5.1



Co-authored-by: default avatarSigmanificient <edhyjox@gmail.com>
parent df3b829c
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
  isodate,
  httpx,
  loguru,
  xsdata-pydantic,
}:

buildPythonPackage rec {
  pname = "entsoe-apy";
  version = "0.5.1";

  src = fetchFromGitHub {
    owner = "berrij";
    repo = "entsoe-apy";
    tag = "v${version}";
    hash = "sha256-aOZsD8Cio7TjYHnUlgfgVWLB2+AnDw1J2fTcD8PFioE=";
  };

  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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -4784,6 +4784,8 @@ self: super: with self; {
  entrypoints = callPackage ../development/python-modules/entrypoints { };
  entsoe-apy = callPackage ../development/python-modules/entsoe-apy { };
  enturclient = callPackage ../development/python-modules/enturclient { };
  env-canada = callPackage ../development/python-modules/env-canada { };