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/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7337,6 +7337,8 @@ self: super: with self; { microsoft-kiota-serialization-text = callPackage ../development/python-modules/microsoft-kiota-serialization-text { }; midea-beautiful-air = callPackage ../development/python-modules/midea-beautiful-air { }; midiutil = callPackage ../development/python-modules/midiutil { }; mido = callPackage ../development/python-modules/mido { }; Loading 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/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7337,6 +7337,8 @@ self: super: with self; { microsoft-kiota-serialization-text = callPackage ../development/python-modules/microsoft-kiota-serialization-text { }; midea-beautiful-air = callPackage ../development/python-modules/midea-beautiful-air { }; midiutil = callPackage ../development/python-modules/midiutil { }; mido = callPackage ../development/python-modules/mido { }; Loading