blob: 270e11b350605a57e920ed7f745c3cdb350bb11c (
about) (
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.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "iometer-gmbh";
repo = "iometer.py";
tag = "v${version}";
hash = "sha256-+Ox9FlS2mswCt2jaJfKuvt21byjUrnCYp3vcv1D83Rs=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
yarl
];
pythonImportsCheck = [ "iometer" ];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
pytestFlagsArray = [
"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 ];
};
}
|