Merge pull request #139416 from fabaff/airtouch4pyapi

python3Packages.airtouch4pyapi: init at 1.0.5

authored by Fabian Affolter and committed by GitHub d8496b2d 26042b99

+41 -1
+38
pkgs/development/python-modules/airtouch4pyapi/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , numpy 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "airtouch4pyapi"; 10 + version = "1.0.5"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.6"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "LonePurpleWolf"; 17 + repo = pname; 18 + # https://github.com/LonePurpleWolf/airtouch4pyapi/issues/5 19 + rev = "34783888846783c058fe79cec16feda45504f701"; 20 + sha256 = "17c7fm72p085pg9msvsfdggbskvm12a6jlb5bw1cndrqsqcrxywx"; 21 + }; 22 + 23 + propagatedBuildInputs = [ 24 + numpy 25 + ]; 26 + 27 + # Project has no tests 28 + doCheck = false; 29 + 30 + pythonImportsCheck = [ "airtouch4pyapi" ]; 31 + 32 + meta = with lib; { 33 + description = "Python API for Airtouch 4 controllers"; 34 + homepage = "https://github.com/LonePurpleWolf/airtouch4pyapi"; 35 + license = with licenses; [ mit ]; 36 + maintainers = with maintainers; [ fab ]; 37 + }; 38 + }
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 20 20 "airly" = ps: with ps; [ airly ]; 21 21 "airnow" = ps: with ps; [ pyairnow ]; 22 22 "airthings" = ps: with ps; [ airthings-cloud ]; 23 - "airtouch4" = ps: with ps; [ ]; # missing inputs: airtouch4pyapi 23 + "airtouch4" = ps: with ps; [ airtouch4pyapi ]; 24 24 "airvisual" = ps: with ps; [ pyairvisual ]; 25 25 "aladdin_connect" = ps: with ps; [ aladdin-connect ]; 26 26 "alarm_control_panel" = ps: with ps; [ ];
+2
pkgs/top-level/python-packages.nix
··· 409 409 410 410 airthings-cloud = callPackage ../development/python-modules/airthings-cloud { }; 411 411 412 + airtouch4pyapi = callPackage ../development/python-modules/airtouch4pyapi { }; 413 + 412 414 ajpy = callPackage ../development/python-modules/ajpy { }; 413 415 414 416 ajsonrpc = callPackage ../development/python-modules/ajsonrpc { };