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