1{
2 aiohttp,
3 aioresponses,
4 buildPythonPackage,
5 fetchFromGitHub,
6 lib,
7 poetry-core,
8 pytest-asyncio,
9 pytest-cov-stub,
10 pytestCheckHook,
11 yarl,
12}:
13
14buildPythonPackage rec {
15 pname = "aiodukeenergy";
16 version = "0.3.0";
17 pyproject = true;
18
19 src = fetchFromGitHub {
20 owner = "hunterjm";
21 repo = "aiodukeenergy";
22 tag = "v${version}";
23 hash = "sha256-BYDC2j2s6gg8/owTDdijqmReUSqDYWqHXf8BUzYn+sI=";
24 };
25
26 build-system = [ poetry-core ];
27
28 dependencies = [
29 aiohttp
30 yarl
31 ];
32
33 pythonImportsCheck = [ "aiodukeenergy" ];
34
35 nativeCheckInputs = [
36 aioresponses
37 pytest-asyncio
38 pytest-cov-stub
39 pytestCheckHook
40 ];
41
42 meta = {
43 changelog = "https://github.com/hunterjm/aiodukeenergy/blob/${src.tag}/CHANGELOG.md";
44 description = "Asyncio Duke Energy";
45 homepage = "https://github.com/hunterjm/aiodukeenergy";
46 license = lib.licenses.mit;
47 maintainers = with lib.maintainers; [ dotlambda ];
48 };
49}