Merge pull request #148771 from fabaff/bump-meross-iot

python3Packages.meross-iot: init at 0.4.3.0

authored by

Fabian Affolter and committed by
GitHub
98dd4745 a95ba5e9

+164
+46
pkgs/development/python-modules/meross-iot/default.nix
···
··· 1 + { lib 2 + , aiohttp 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , paho-mqtt 6 + , pytestCheckHook 7 + , pythonOlder 8 + , requests 9 + , retrying 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "meross-iot"; 14 + version = "0.4.3.0"; 15 + format = "setuptools"; 16 + 17 + disabled = pythonOlder "3.7"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "albertogeniola"; 21 + repo = "MerossIot"; 22 + rev = version; 23 + sha256 = "sha256-PZ1+Bjw7k6EFZEuPhbkGrdQzdLGiM4U0ecAAN8SxWU4="; 24 + }; 25 + 26 + propagatedBuildInputs = [ 27 + aiohttp 28 + paho-mqtt 29 + requests 30 + retrying 31 + ]; 32 + 33 + # Test require network access 34 + doCheck = false; 35 + 36 + pythonImportsCheck = [ 37 + "meross_iot" 38 + ]; 39 + 40 + meta = with lib; { 41 + description = "Python library to interact with Meross devices"; 42 + homepage = "https://github.com/albertogeniola/MerossIot"; 43 + license = with licenses; [ mit ]; 44 + maintainers = with maintainers; [ fab ]; 45 + }; 46 + }
+63
pkgs/development/python-modules/proxy-py/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , openssl 5 + , paramiko 6 + , pytest-asyncio 7 + , pytest-mock 8 + , pytestCheckHook 9 + , pythonOlder 10 + , setuptools-scm 11 + , typing-extensions 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "proxy-py"; 16 + version = "2.3.1"; 17 + format = "setuptools"; 18 + 19 + disabled = pythonOlder "3.7"; 20 + 21 + src = fetchFromGitHub { 22 + owner = "abhinavsingh"; 23 + repo = "proxy.py"; 24 + rev = "v${version}"; 25 + sha256 = "sha256-qqwb3t8/xicDGfO6l843qRwh0yUfthnOIhgNeKIbEO4="; 26 + }; 27 + 28 + nativeBuildInputs = [ 29 + setuptools-scm 30 + ]; 31 + 32 + propagatedBuildInputs = [ 33 + paramiko 34 + typing-extensions 35 + ]; 36 + 37 + checkInputs = [ 38 + openssl 39 + pytest-asyncio 40 + pytest-mock 41 + pytestCheckHook 42 + ]; 43 + 44 + preCheck = '' 45 + export HOME=$(mktemp -d); 46 + ''; 47 + 48 + postPatch = '' 49 + substituteInPlace requirements.txt \ 50 + --replace "typing-extensions==3.7.4.3" "typing-extensions" 51 + ''; 52 + 53 + pythonImportsCheck = [ 54 + "proxy" 55 + ]; 56 + 57 + meta = with lib; { 58 + description = "Python proxy framework"; 59 + homepage = "https://github.com/abhinavsingh/proxy.py"; 60 + license = with licenses; [ bsd3 ]; 61 + maintainers = with maintainers; [ fab ]; 62 + }; 63 + }
+49
pkgs/development/python-modules/pytest-json-report/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytest 5 + , pytest-metadata 6 + , pytest-xdist 7 + , pytestCheckHook 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "pytest-json-report"; 12 + version = "1.4.1"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "numirias"; 16 + repo = pname; 17 + rev = "v${version}"; 18 + sha256 = "sha256-OS9ASUp9iJ12Ovr931RQU/DHEAXqbgcRMCBP4h+GAhk="; 19 + }; 20 + 21 + buildInputs = [ 22 + pytest 23 + ]; 24 + 25 + propagatedBuildInputs = [ 26 + pytest-metadata 27 + ]; 28 + 29 + checkInputs = [ 30 + pytest-xdist 31 + pytestCheckHook 32 + ]; 33 + 34 + disabledTests = [ 35 + # pytest-flaky is not available at the moment 36 + "test_bug_31" 37 + ]; 38 + 39 + pythonImportsCheck = [ 40 + "pytest_jsonreport" 41 + ]; 42 + 43 + meta = with lib; { 44 + description = "Pytest plugin to report test results as JSON"; 45 + homepage = "https://github.com/numirias/pytest-json-report"; 46 + license = licenses.mit; 47 + maintainers = with maintainers; [ fab ]; 48 + }; 49 + }
+6
pkgs/top-level/python-packages.nix
··· 4847 4848 merkletools = callPackage ../development/python-modules/merkletools { }; 4849 4850 mesa = callPackage ../development/python-modules/mesa { }; 4851 4852 meshio = callPackage ../development/python-modules/meshio { }; ··· 6203 6204 proxmoxer = callPackage ../development/python-modules/proxmoxer { }; 6205 6206 psautohint = callPackage ../development/python-modules/psautohint { }; 6207 6208 psd-tools = callPackage ../development/python-modules/psd-tools { }; ··· 7538 pytest-instafail = callPackage ../development/python-modules/pytest-instafail { }; 7539 7540 pytest-isort = callPackage ../development/python-modules/pytest-isort { }; 7541 7542 pytest-lazy-fixture = callPackage ../development/python-modules/pytest-lazy-fixture { }; 7543
··· 4847 4848 merkletools = callPackage ../development/python-modules/merkletools { }; 4849 4850 + meross-iot = callPackage ../development/python-modules/meross-iot { }; 4851 + 4852 mesa = callPackage ../development/python-modules/mesa { }; 4853 4854 meshio = callPackage ../development/python-modules/meshio { }; ··· 6205 6206 proxmoxer = callPackage ../development/python-modules/proxmoxer { }; 6207 6208 + proxy-py = callPackage ../development/python-modules/proxy-py { }; 6209 + 6210 psautohint = callPackage ../development/python-modules/psautohint { }; 6211 6212 psd-tools = callPackage ../development/python-modules/psd-tools { }; ··· 7542 pytest-instafail = callPackage ../development/python-modules/pytest-instafail { }; 7543 7544 pytest-isort = callPackage ../development/python-modules/pytest-isort { }; 7545 + 7546 + pytest-json-report = callPackage ../development/python-modules/pytest-json-report { }; 7547 7548 pytest-lazy-fixture = callPackage ../development/python-modules/pytest-lazy-fixture { }; 7549