blob: 2c4b9562c16b5d0071ed8a524c88c0c845bd3f10 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
html-table-parser-python3,
requests,
}:
buildPythonPackage rec {
pname = "bthomehub5-devicelist";
version = "0.1.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-bWMwLbFGdMRcZLIVbOptWMOOFzVBm2KxQ9jwqvAU6zA=";
};
pythonRelaxDeps = [ "html-table-parser-python3" ];
build-system = [ setuptools ];
dependencies = [
html-table-parser-python3
requests
];
# No tests in the package
doCheck = false;
pythonImportsCheck = [ "bthomehub5_devicelist" ];
meta = {
description = "Returns a list of devices currently connected to a BT Home Hub 5";
homepage = "https://github.com/ahobsonsayers/bthomehub5-devicelist";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ pyrox0 ];
};
}
|