Loading pkgs/development/python-modules/py-melissa-climate/default.nix 0 → 100644 +58 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, aiohttp, requests, requests-futures, pytestCheckHook, mock, }: buildPythonPackage rec { pname = "py-melissa-climate"; version = "2.1.2"; pyproject = true; src = fetchFromGitHub { owner = "kennedyshead"; repo = "py-melissa-climate"; tag = "V${version}"; hash = "sha256-Z1A0G3g8dyoG+zUxUTqI/OxczvUVy2kSI04YP0WeXso="; }; postPatch = '' substituteInPlace setup.py \ --replace-fail "setup_requires=['setuptools-markdown']," "" ''; build-system = [ setuptools ]; dependencies = [ aiohttp requests requests-futures ]; nativeCheckInputs = [ mock pytestCheckHook ]; disabledTests = [ # Disable failing tests due to upstream bugs "test_have_connection" "test_send" "test_send_ok" ]; pythonImportsCheck = [ "melissa" ]; meta = { description = "API wrapper for Melissa Climate"; homepage = "https://github.com/kennedyshead/py-melissa-climate"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jamiemagee ]; }; } pkgs/servers/home-assistant/component-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -3514,7 +3514,8 @@ ]; "melissa" = ps: with ps; [ ]; # missing inputs: py-melissa-climate py-melissa-climate ]; "melnor" = ps: with ps; [ aioesphomeapi Loading Loading @@ -7358,6 +7359,7 @@ "media_player" "media_source" "melcloud" "melissa" "melnor" "meraki" "met" Loading pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12262,6 +12262,8 @@ self: super: with self; { py-madvr2 = callPackage ../development/python-modules/py-madvr2 { }; py-melissa-climate = callPackage ../development/python-modules/py-melissa-climate { }; py-multiaddr = callPackage ../development/python-modules/py-multiaddr { }; py-multibase = callPackage ../development/python-modules/py-multibase { }; Loading Loading
pkgs/development/python-modules/py-melissa-climate/default.nix 0 → 100644 +58 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, aiohttp, requests, requests-futures, pytestCheckHook, mock, }: buildPythonPackage rec { pname = "py-melissa-climate"; version = "2.1.2"; pyproject = true; src = fetchFromGitHub { owner = "kennedyshead"; repo = "py-melissa-climate"; tag = "V${version}"; hash = "sha256-Z1A0G3g8dyoG+zUxUTqI/OxczvUVy2kSI04YP0WeXso="; }; postPatch = '' substituteInPlace setup.py \ --replace-fail "setup_requires=['setuptools-markdown']," "" ''; build-system = [ setuptools ]; dependencies = [ aiohttp requests requests-futures ]; nativeCheckInputs = [ mock pytestCheckHook ]; disabledTests = [ # Disable failing tests due to upstream bugs "test_have_connection" "test_send" "test_send_ok" ]; pythonImportsCheck = [ "melissa" ]; meta = { description = "API wrapper for Melissa Climate"; homepage = "https://github.com/kennedyshead/py-melissa-climate"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jamiemagee ]; }; }
pkgs/servers/home-assistant/component-packages.nix +3 −1 Original line number Diff line number Diff line Loading @@ -3514,7 +3514,8 @@ ]; "melissa" = ps: with ps; [ ]; # missing inputs: py-melissa-climate py-melissa-climate ]; "melnor" = ps: with ps; [ aioesphomeapi Loading Loading @@ -7358,6 +7359,7 @@ "media_player" "media_source" "melcloud" "melissa" "melnor" "meraki" "met" Loading
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12262,6 +12262,8 @@ self: super: with self; { py-madvr2 = callPackage ../development/python-modules/py-madvr2 { }; py-melissa-climate = callPackage ../development/python-modules/py-melissa-climate { }; py-multiaddr = callPackage ../development/python-modules/py-multiaddr { }; py-multibase = callPackage ../development/python-modules/py-multibase { }; Loading