about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyqwikswitch/default.nix
blob: 20a5d59833db99f736630d7f882f24adae22b82a (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
, attrs
, requests
, python
}:

buildPythonPackage rec {
  pname = "pyqwikswitch";
  version = "0.94";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-IpyWz+3EMr0I+xULBJJhBgdnQHNPJIM1SqKFLpszhQc=";
  };

  propagatedBuildInputs = [
    attrs
    requests
  ];

  pythonImportsCheck = [
    "pyqwikswitch"
    "pyqwikswitch.threaded"
  ];

  doCheck = false; # no tests in sdist

  meta = with lib; {
    description = "QwikSwitch USB Modem API binding for Python";
    homepage = "https://github.com/kellerza/pyqwikswitch";
    license = licenses.mit;
    maintainers = teams.home-assistant.members;
  };
}