blob: bb01d9cc5ae49bee922b5629e2f208b8113a646c (
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
52
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
aiohttp,
requests,
pytest-cov-stub,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "brunt";
version = "1.2.0";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-5wRifce5wKUMZ66Q8dMgsU+Z8rL8m/HvBGGxQdzxvOk=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
aiohttp
requests
];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
# tests require Brunt hardware
doCheck = false;
pythonImportsCheck = [ "brunt" ];
meta = {
description = "Unofficial Python SDK for Brunt";
homepage = "https://github.com/eavanvalkenburg/brunt-api";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
})
|