blob: beba41d64809a3ea463b93504e3c48f16d65500c (
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
48
49
50
51
|
{
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
lib,
poetry-core,
pytest-asyncio,
pytestCheckHook,
yarl,
}:
buildPythonPackage rec {
pname = "iometer";
version = "0.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "iometer-gmbh";
repo = "iometer.py";
tag = "v${version}";
hash = "sha256-rr+t8VPiPX9/r7mHo9DjLRjoZ7x/4IadhmDtIi2T0C4=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
yarl
];
pythonImportsCheck = [ "iometer" ];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
enabledTestPaths = [
"tests/test.py"
];
meta = {
changelog = "https://github.com/iometer-gmbh/iometer.py/releases/tag/${src.tag}";
description = "Python client for interacting with IOmeter devices over HTTP";
homepage = "https://github.com/iometer-gmbh/iometer.py";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|