depot/third_party/nixpkgs/pkgs/development/python-modules/pyqwikswitch/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

38 lines
698 B
Nix

{
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;
};
}