Merge pull request #119231 from mweinelt/home-assistant-cli

home-assistant-cli: 0.9.1 -> 0.9.3; python3Packages.jsonpath-ng: fix build

authored by

Fabian Affolter and committed by
GitHub
7466d22d 08256f7d

+20 -10
+1 -1
pkgs/development/python-modules/jsonpath-ng/default.nix
··· 26 27 checkInputs = [ pytestCheckHook ]; 28 29 - disabledTestFiles = [ 30 # Exclude tests that require oslotest 31 "tests/test_jsonpath_rw_ext.py" 32 ];
··· 26 27 checkInputs = [ pytestCheckHook ]; 28 29 + disabledTestPaths = [ 30 # Exclude tests that require oslotest 31 "tests/test_jsonpath_rw_ext.py" 32 ];
+19 -9
pkgs/servers/home-assistant/cli.nix
··· 1 - { lib, python3 }: 2 3 python3.pkgs.buildPythonApplication rec { 4 pname = "homeassistant-cli"; 5 - version = "0.9.1"; 6 7 src = python3.pkgs.fetchPypi { 8 inherit pname version; 9 - sha256 = "1a31ky2p5w8byf0bjgma6xi328jj690qqksm3dwbi3v8dpqvghgf"; 10 }; 11 12 postPatch = '' ··· 15 ''; 16 17 propagatedBuildInputs = with python3.pkgs; [ 18 - requests netdisco click click-log tabulate jsonpath_rw jinja2 dateparser regex ruamel_yaml aiohttp 19 ]; 20 21 postInstall = '' ··· 25 ''; 26 27 checkInputs = with python3.pkgs; [ 28 - pytest requests-mock 29 ]; 30 31 - checkPhase = '' 32 - pytest 33 - ''; 34 - 35 meta = with lib; { 36 description = "Command-line tool for Home Assistant"; 37 homepage = "https://github.com/home-assistant/home-assistant-cli"; 38 license = licenses.asl20; 39 maintainers = teams.home-assistant.members; 40 };
··· 1 + { lib 2 + , python3 3 + }: 4 5 python3.pkgs.buildPythonApplication rec { 6 pname = "homeassistant-cli"; 7 + version = "0.9.3"; 8 9 src = python3.pkgs.fetchPypi { 10 inherit pname version; 11 + sha256 = "18h6bc99skzb0a1pffb6lr2z04928srrcz1w2zy66bndasic5yfs"; 12 }; 13 14 postPatch = '' ··· 17 ''; 18 19 propagatedBuildInputs = with python3.pkgs; [ 20 + aiohttp 21 + click 22 + click-log 23 + dateparser 24 + jinja2 25 + jsonpath-ng 26 + netdisco 27 + regex 28 + requests 29 + ruamel-yaml 30 + tabulate 31 ]; 32 33 postInstall = '' ··· 37 ''; 38 39 checkInputs = with python3.pkgs; [ 40 + pytestCheckHook 41 + requests-mock 42 ]; 43 44 meta = with lib; { 45 description = "Command-line tool for Home Assistant"; 46 homepage = "https://github.com/home-assistant/home-assistant-cli"; 47 + changelog = "https://github.com/home-assistant-ecosystem/home-assistant-cli/releases/tag/${version}"; 48 license = licenses.asl20; 49 maintainers = teams.home-assistant.members; 50 };