biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / huawei-lte-api / default.nix
blob232add95bf7585d3ddd37f0ba19b0775cf64907d
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   pycryptodomex,
7   pytestCheckHook,
8   requests,
9   setuptools,
10   xmltodict,
13 buildPythonPackage rec {
14   pname = "huawei-lte-api";
15   version = "1.10";
16   pyproject = true;
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "Salamek";
22     repo = "huawei-lte-api";
23     rev = "refs/tags/${version}";
24     hash = "sha256-L6xCX+NHASunB876N1R++xMOx55Z8zc77j5QwKqHsNY=";
25   };
27   build-system = [ setuptools ];
29   dependencies = [
30     pycryptodomex
31     requests
32     xmltodict
33   ];
35   nativeCheckInputs = [ pytestCheckHook ];
37   pythonImportsCheck = [
38     "huawei_lte_api.AuthorizedConnection"
39     "huawei_lte_api.Client"
40     "huawei_lte_api.Connection"
41   ];
43   meta = with lib; {
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 ];
49   };