1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 attrs,
6 requests,
7}:
8
9buildPythonPackage rec {
10 pname = "pyqwikswitch";
11 version = "0.94";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-IpyWz+3EMr0I+xULBJJhBgdnQHNPJIM1SqKFLpszhQc=";
17 };
18
19 propagatedBuildInputs = [
20 attrs
21 requests
22 ];
23
24 pythonImportsCheck = [
25 "pyqwikswitch"
26 "pyqwikswitch.threaded"
27 ];
28
29 doCheck = false; # no tests in sdist
30
31 meta = with lib; {
32 description = "QwikSwitch USB Modem API binding for Python";
33 homepage = "https://github.com/kellerza/pyqwikswitch";
34 license = licenses.mit;
35 teams = [ teams.home-assistant ];
36 };
37}