13 buildPythonPackage rec {
14 pname = "huawei-lte-api";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
22 repo = "huawei-lte-api";
23 rev = "refs/tags/${version}";
24 hash = "sha256-L6xCX+NHASunB876N1R++xMOx55Z8zc77j5QwKqHsNY=";
27 build-system = [ setuptools ];
35 nativeCheckInputs = [ pytestCheckHook ];
37 pythonImportsCheck = [
38 "huawei_lte_api.AuthorizedConnection"
39 "huawei_lte_api.Client"
40 "huawei_lte_api.Connection"
44 description = "API For huawei LAN/WAN LTE Modems";
45 homepage = "https://github.com/Salamek/huawei-lte-api";
46 changelog = "https://github.com/Salamek/huawei-lte-api/releases/tag/${version}";
47 license = licenses.lgpl3Only;
48 maintainers = with maintainers; [ dotlambda ];