Merge pull request #118919 from fabaff/omnilogic

authored by

Sandro and committed by
GitHub
cbdbd246 cb29de02

+43 -1
+39
pkgs/development/python-modules/omnilogic/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , xmltodict 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "omnilogic"; 10 + version = "0.4.3"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "djtimca"; 14 + repo = "omnilogic-api"; 15 + rev = "v${version}"; 16 + sha256 = "19pmbykq0mckk23aj33xbhg3gjx557xy9a481mp6pkmihf2lsc8z"; 17 + }; 18 + 19 + propagatedBuildInputs = [ 20 + aiohttp 21 + xmltodict 22 + ]; 23 + 24 + postPatch = '' 25 + # Is not used but still present in setup.py 26 + substituteInPlace setup.py --replace "'config'," "" 27 + ''; 28 + 29 + # Project has no tests 30 + doCheck = false; 31 + pythonImportsCheck = [ "omnilogic" ]; 32 + 33 + meta = with lib; { 34 + description = "Python interface for the Hayward Omnilogic pool control system"; 35 + homepage = "https://github.com/djtimca/omnilogic-api"; 36 + license = with licenses; [ asl20 ]; 37 + maintainers = with maintainers; [ fab ]; 38 + }; 39 + }
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 581 581 "oem" = ps: with ps; [ ]; # missing inputs: oemthermostat 582 582 "ohmconnect" = ps: with ps; [ defusedxml ]; 583 583 "ombi" = ps: with ps; [ ]; # missing inputs: pyombi 584 - "omnilogic" = ps: with ps; [ ]; # missing inputs: omnilogic 584 + "omnilogic" = ps: with ps; [ omnilogic ]; 585 585 "onboarding" = ps: with ps; [ aiohttp-cors pillow ]; 586 586 "ondilo_ico" = ps: with ps; [ aiohttp-cors ]; # missing inputs: ondilo 587 587 "onewire" = ps: with ps; [ ]; # missing inputs: pi1wire pyownet
+1
pkgs/servers/home-assistant/default.nix
··· 286 286 "notify" 287 287 "notion" 288 288 "number" 289 + "omnilogic" 289 290 "ozw" 290 291 "panel_custom" 291 292 "panel_iframe"
+2
pkgs/top-level/python-packages.nix
··· 4801 4801 4802 4802 omegaconf = callPackage ../development/python-modules/omegaconf { }; 4803 4803 4804 + omnilogic = callPackage ../development/python-modules/omnilogic { }; 4805 + 4804 4806 onkyo-eiscp = callPackage ../development/python-modules/onkyo-eiscp { }; 4805 4807 4806 4808 onnx = callPackage ../development/python-modules/onnx { };