blob: 248ca09d070829798d373ec72abdda9365733c73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
isodate,
httpx,
loguru,
xsdata-pydantic,
}:
buildPythonPackage rec {
pname = "entsoe-apy";
version = "0.7.0";
src = fetchFromGitHub {
owner = "berrij";
repo = "entsoe-apy";
tag = "v${version}";
hash = "sha256-ui+F9EOz95yCfn52pSsxDs9p6d0a2g3VpxHd3WjU9W0=";
};
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;
};
}
|