blob: 419b0ad57697dcd3aa2fae06e2c198da29847954 (
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
|
{
lib,
buildPythonPackage,
esprima,
fetchFromGitHub,
pytestCheckHook,
requests,
requests-mock,
urllib3,
}:
buildPythonPackage rec {
pname = "quantum-gateway";
version = "0.0.8";
format = "setuptools";
src = fetchFromGitHub {
owner = "cisasteelersfan";
repo = "quantum_gateway";
rev = version;
hash = "sha256-jwLfth+UaisPR0p+UHfm6qMXT2eSYWnsYEp0BqyeI9U=";
};
propagatedBuildInputs = [
urllib3
esprima
requests
];
nativeCheckInputs = [
requests-mock
pytestCheckHook
];
pythonImportsCheck = [ "quantum_gateway" ];
disabledTests = [
# Tests require network features
"TestGateway3100"
];
meta = {
description = "Python library for interacting with Verizon Fios Quantum gateway devices";
homepage = "https://github.com/cisasteelersfan/quantum_gateway";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|