Loading pkgs/development/python-modules/midea-beautiful-air/default.nix 0 → 100644 +54 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , setuptools , cryptography , requests , pytestCheckHook , pytest-socket , requests-mock }: buildPythonPackage rec { pname = "midea-beautiful-air"; version = "0.10.4"; pyproject = true; src = fetchFromGitHub { owner = "nbogojevic"; repo = pname; rev = "v${version}"; hash = "sha256-1IOv9K8f69iRpYaCx3k0smVrCKPmDxlT/1uVoTyvIjU="; }; build-system = [ setuptools ]; dependencies = [ cryptography requests ]; nativeCheckInputs = [ pytestCheckHook pytest-socket requests-mock ]; disabledTestPaths = [ # tests optional dependencies + network "tests/test_cli.py" ]; pythonImportsCheck = [ "midea_beautiful" ]; meta = with lib; { description = "Python client for accessing Midea air conditioners and dehumidifiers (Midea, Comfee, Inventor EVO) via local network"; homepage = "https://github.com/nbogojevic/midea-beautiful-air"; changelog = "https://github.com/nbogojevic/midea-beautiful-air/releases/tag/v${version}"; maintainers = with maintainers; [ k900 ]; mainProgram = "midea-beautiful-air-cli"; license = licenses.mit; }; } pkgs/servers/home-assistant/custom-components/default.nix +6 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,8 @@ localtuya = callPackage ./localtuya {}; midea-air-appliances-lan = callPackage ./midea-air-appliances-lan {}; miele = callPackage ./miele {}; moonraker = callPackage ./moonraker {}; Loading @@ -32,5 +34,9 @@ sensi = callPackage ./sensi {}; smartthinq-sensors = callPackage ./smartthinq-sensors {}; waste_collection_schedule = callPackage ./waste_collection_schedule {}; yassi = callPackage ./yassi {}; } pkgs/servers/home-assistant/custom-components/midea-air-appliances-lan/default.nix 0 → 100644 +28 −0 Original line number Diff line number Diff line { lib , buildHomeAssistantComponent , fetchFromGitHub , midea-beautiful-air }: buildHomeAssistantComponent rec { owner = "nbogojevic"; domain = "midea_dehumidifier_lan"; version = "0.9.2"; src = fetchFromGitHub { inherit owner; repo = "homeassistant-midea-air-appliances-lan"; rev = "v${version}"; hash = "sha256-CNvtpC7g0XR+cNDV9sMWc3sRLsy4bXFSDvkP+I7W1Gc="; }; propagatedBuildInputs = [ midea-beautiful-air ]; meta = with lib; { description = "Home Assistant custom component adding support for controlling Midea air conditioners and dehumidifiers on local network"; homepage = "https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan"; changelog = "https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan/releases/tag/v${version}"; maintainers = with maintainers; [ k900 ]; license = licenses.mit; }; } pkgs/servers/home-assistant/custom-components/moonraker/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -7,13 +7,13 @@ buildHomeAssistantComponent rec { owner = "marcolivierarsenault"; domain = "moonraker"; version = "1.1.1"; version = "1.2.0"; src = fetchFromGitHub { owner = "marcolivierarsenault"; repo = "moonraker-home-assistant"; rev = "refs/tags/${version}"; hash = "sha256-jxMi4hmSVBU9ztoHxFINoJo8klirfo6j7gWty7FXFkQ="; hash = "sha256-oFHV9+5byWCOUxUhOvGHNilCZaoOp2xxb33nF8+CYjE="; }; propagatedBuildInputs = [ Loading pkgs/servers/home-assistant/custom-components/smartthinq-sensors/default.nix 0 → 100644 +34 −0 Original line number Diff line number Diff line { lib , buildHomeAssistantComponent , fetchFromGitHub , charset-normalizer , pycountry , xmltodict }: buildHomeAssistantComponent rec { owner = "ollo69"; domain = "smartthinq_sensors"; version = "0.39.0"; src = fetchFromGitHub { inherit owner; repo = "ha-smartthinq-sensors"; rev = "v${version}"; hash = "sha256-mt5/XHDAUeoMUA1jWdCNXTUgZBQkqabL5Y4MxwxcweY="; }; propagatedBuildInputs = [ charset-normalizer pycountry xmltodict ]; meta = with lib; { description = "Home Assistant custom integration for SmartThinQ LG devices configurable with Lovelace User Interface"; homepage = "https://github.com/ollo69/ha-smartthinq-sensors"; changelog = "https://github.com/ollo69/ha-smartthinq-sensors/releases/tag/v${version}"; maintainers = with maintainers; [ k900 ]; license = licenses.asl20; }; } Loading
pkgs/development/python-modules/midea-beautiful-air/default.nix 0 → 100644 +54 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , setuptools , cryptography , requests , pytestCheckHook , pytest-socket , requests-mock }: buildPythonPackage rec { pname = "midea-beautiful-air"; version = "0.10.4"; pyproject = true; src = fetchFromGitHub { owner = "nbogojevic"; repo = pname; rev = "v${version}"; hash = "sha256-1IOv9K8f69iRpYaCx3k0smVrCKPmDxlT/1uVoTyvIjU="; }; build-system = [ setuptools ]; dependencies = [ cryptography requests ]; nativeCheckInputs = [ pytestCheckHook pytest-socket requests-mock ]; disabledTestPaths = [ # tests optional dependencies + network "tests/test_cli.py" ]; pythonImportsCheck = [ "midea_beautiful" ]; meta = with lib; { description = "Python client for accessing Midea air conditioners and dehumidifiers (Midea, Comfee, Inventor EVO) via local network"; homepage = "https://github.com/nbogojevic/midea-beautiful-air"; changelog = "https://github.com/nbogojevic/midea-beautiful-air/releases/tag/v${version}"; maintainers = with maintainers; [ k900 ]; mainProgram = "midea-beautiful-air-cli"; license = licenses.mit; }; }
pkgs/servers/home-assistant/custom-components/default.nix +6 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,8 @@ localtuya = callPackage ./localtuya {}; midea-air-appliances-lan = callPackage ./midea-air-appliances-lan {}; miele = callPackage ./miele {}; moonraker = callPackage ./moonraker {}; Loading @@ -32,5 +34,9 @@ sensi = callPackage ./sensi {}; smartthinq-sensors = callPackage ./smartthinq-sensors {}; waste_collection_schedule = callPackage ./waste_collection_schedule {}; yassi = callPackage ./yassi {}; }
pkgs/servers/home-assistant/custom-components/midea-air-appliances-lan/default.nix 0 → 100644 +28 −0 Original line number Diff line number Diff line { lib , buildHomeAssistantComponent , fetchFromGitHub , midea-beautiful-air }: buildHomeAssistantComponent rec { owner = "nbogojevic"; domain = "midea_dehumidifier_lan"; version = "0.9.2"; src = fetchFromGitHub { inherit owner; repo = "homeassistant-midea-air-appliances-lan"; rev = "v${version}"; hash = "sha256-CNvtpC7g0XR+cNDV9sMWc3sRLsy4bXFSDvkP+I7W1Gc="; }; propagatedBuildInputs = [ midea-beautiful-air ]; meta = with lib; { description = "Home Assistant custom component adding support for controlling Midea air conditioners and dehumidifiers on local network"; homepage = "https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan"; changelog = "https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan/releases/tag/v${version}"; maintainers = with maintainers; [ k900 ]; license = licenses.mit; }; }
pkgs/servers/home-assistant/custom-components/moonraker/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -7,13 +7,13 @@ buildHomeAssistantComponent rec { owner = "marcolivierarsenault"; domain = "moonraker"; version = "1.1.1"; version = "1.2.0"; src = fetchFromGitHub { owner = "marcolivierarsenault"; repo = "moonraker-home-assistant"; rev = "refs/tags/${version}"; hash = "sha256-jxMi4hmSVBU9ztoHxFINoJo8klirfo6j7gWty7FXFkQ="; hash = "sha256-oFHV9+5byWCOUxUhOvGHNilCZaoOp2xxb33nF8+CYjE="; }; propagatedBuildInputs = [ Loading
pkgs/servers/home-assistant/custom-components/smartthinq-sensors/default.nix 0 → 100644 +34 −0 Original line number Diff line number Diff line { lib , buildHomeAssistantComponent , fetchFromGitHub , charset-normalizer , pycountry , xmltodict }: buildHomeAssistantComponent rec { owner = "ollo69"; domain = "smartthinq_sensors"; version = "0.39.0"; src = fetchFromGitHub { inherit owner; repo = "ha-smartthinq-sensors"; rev = "v${version}"; hash = "sha256-mt5/XHDAUeoMUA1jWdCNXTUgZBQkqabL5Y4MxwxcweY="; }; propagatedBuildInputs = [ charset-normalizer pycountry xmltodict ]; meta = with lib; { description = "Home Assistant custom integration for SmartThinQ LG devices configurable with Lovelace User Interface"; homepage = "https://github.com/ollo69/ha-smartthinq-sensors"; changelog = "https://github.com/ollo69/ha-smartthinq-sensors/releases/tag/v${version}"; maintainers = with maintainers; [ k900 ]; license = licenses.asl20; }; }