Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 48 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, pycryptodomex, pytestCheckHook, requests, xmltodict}:
buildPythonPackage rec { pname = "huawei-lte-api"; version = "1.6.11"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "Salamek"; repo = "huawei-lte-api"; rev = "refs/tags/${version}"; hash = "sha256-pOBYMSORgT8WOnhCdazuKucjPoOywnrWa+qCYR5qSls="; };
propagatedBuildInputs = [ pycryptodomex requests xmltodict ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "huawei_lte_api.AuthorizedConnection" "huawei_lte_api.Client" "huawei_lte_api.Connection" ];
meta = with lib; { description = "API For huawei LAN/WAN LTE Modems"; homepage = "https://github.com/Salamek/huawei-lte-api"; changelog = "https://github.com/Salamek/huawei-lte-api/releases/tag/${version}"; license = licenses.lgpl3Only; maintainers = with maintainers; [ dotlambda ]; };}