Merge pull request #158037 from fabaff/Adax-local

authored by Martin Weinelt and committed by GitHub 330f3b60 07a283bb

+47 -1
+43
pkgs/development/python-modules/adax-local/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , bleak 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , async-timeout 7 + , pythonOlder 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "adax-local"; 12 + version = "0.1.3"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.8"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "Danielhiversen"; 19 + repo = "pyAdaxLocal"; 20 + rev = version; 21 + hash = "sha256-SGVXzSjtYNRVJN5fUjjskko55/e0L3P8aB90G4HuBOE="; 22 + }; 23 + 24 + propagatedBuildInputs = [ 25 + aiohttp 26 + bleak 27 + async-timeout 28 + ]; 29 + 30 + # Module has no tests 31 + doCheck = false; 32 + 33 + pythonImportsCheck = [ 34 + "adax_local" 35 + ]; 36 + 37 + meta = with lib; { 38 + description = "Module for local access to Adax"; 39 + homepage = "https://github.com/Danielhiversen/pyAdaxLocal"; 40 + license = with licenses; [ mit ]; 41 + maintainers = with maintainers; [ fab ]; 42 + }; 43 + }
+2 -1
pkgs/servers/home-assistant/component-packages.nix
··· 9 9 "acer_projector" = ps: with ps; [ pyserial ]; 10 10 "acmeda" = ps: with ps; [ aiopulse ]; 11 11 "actiontec" = ps: with ps; [ ]; 12 - "adax" = ps: with ps; [ adax ]; # missing inputs: Adax-local 12 + "adax" = ps: with ps; [ adax-local adax ]; 13 13 "adguard" = ps: with ps; [ adguardhome ]; 14 14 "ads" = ps: with ps; [ pyads ]; 15 15 "advantage_air" = ps: with ps; [ advantage-air ]; ··· 1037 1037 "abode" 1038 1038 "accuweather" 1039 1039 "acmeda" 1040 + "adax" 1040 1041 "adguard" 1041 1042 "advantage_air" 1042 1043 "aemet"
+2
pkgs/top-level/python-packages.nix
··· 194 194 195 195 adax = callPackage ../development/python-modules/adax { }; 196 196 197 + adax-local = callPackage ../development/python-modules/adax-local { }; 198 + 197 199 adb-enhanced = callPackage ../development/python-modules/adb-enhanced { }; 198 200 199 201 adb-homeassistant = callPackage ../development/python-modules/adb-homeassistant { };