python3Packages.entsoe-apy: init at 0.5.1 (#451742)
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
xsdata,
|
||||
pydantic,
|
||||
click,
|
||||
click-default-group,
|
||||
jinja2,
|
||||
docformatter,
|
||||
toposort,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xsdata-pydantic";
|
||||
version = "24.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tefra";
|
||||
repo = "xsdata-pydantic";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ExgAXQRNfGQRSZdMuWc8ldJPqz+3c4Imgu75KXLXHNk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
xsdata
|
||||
pydantic
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
click
|
||||
click-default-group
|
||||
docformatter
|
||||
jinja2
|
||||
toposort
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"xsdata_pydantic"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Naive XML & JSON Bindings for python pydantic classes!";
|
||||
homepage = "https://github.com/tefra/xsdata-pydantic";
|
||||
maintainers = with lib.maintainers; [ berrij ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -4833,6 +4833,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 { };
|
||||
@@ -20587,6 +20589,8 @@ self: super: with self; {
|
||||
|
||||
xsdata = callPackage ../development/python-modules/xsdata { };
|
||||
|
||||
xsdata-pydantic = callPackage ../development/python-modules/xsdata-pydantic { };
|
||||
|
||||
xstatic = callPackage ../development/python-modules/xstatic { };
|
||||
|
||||
xstatic-asciinema-player = callPackage ../development/python-modules/xstatic-asciinema-player { };
|
||||
|
||||
Reference in New Issue
Block a user