depot/third_party/nixpkgs/pkgs/development/python-modules/pyqwikswitch/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

37 lines
688 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
attrs,
requests,
}:
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;
};
}