Merge pull request #109527 from fabaff/hatasmota

python3Packages.hatasmota: init at 0.2.5

authored by Martin Weinelt and committed by GitHub bf6fb7b5 13feddd1

+37 -1
+34
pkgs/development/python-modules/hatasmota/default.nix
···
··· 1 + { lib 2 + , attrs 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , voluptuous 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "hatasmota"; 10 + version = "0.2.5"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "emontnemery"; 14 + repo = pname; 15 + rev = version; 16 + sha256 = "1xsqrpd0dprjfaa2yrdy1g9n4xyrw6ifnzkrh3sq5fx0yfmxbzqm"; 17 + }; 18 + 19 + propagatedBuildInputs = [ 20 + attrs 21 + voluptuous 22 + ]; 23 + 24 + # Project has no tests 25 + doCheck = false; 26 + pythonImportsCheck = [ "hatasmota" ]; 27 + 28 + meta = with lib; { 29 + description = "Python module to help parse and construct Tasmota MQTT messages"; 30 + homepage = "https://github.com/emontnemery/hatasmota"; 31 + license = with licenses; [ mit ]; 32 + maintainers = with maintainers; [ fab ]; 33 + }; 34 + }
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 816 "tank_utility" = ps: with ps; [ ]; # missing inputs: tank_utility 817 "tankerkoenig" = ps: with ps; [ ]; # missing inputs: pytankerkoenig 818 "tapsaff" = ps: with ps; [ ]; # missing inputs: tapsaff 819 - "tasmota" = ps: with ps; [ aiohttp-cors paho-mqtt ]; # missing inputs: hatasmota 820 "tautulli" = ps: with ps; [ ]; # missing inputs: pytautulli 821 "tcp" = ps: with ps; [ ]; 822 "ted5000" = ps: with ps; [ xmltodict ];
··· 816 "tank_utility" = ps: with ps; [ ]; # missing inputs: tank_utility 817 "tankerkoenig" = ps: with ps; [ ]; # missing inputs: pytankerkoenig 818 "tapsaff" = ps: with ps; [ ]; # missing inputs: tapsaff 819 + "tasmota" = ps: with ps; [ aiohttp-cors hatasmota paho-mqtt ]; 820 "tautulli" = ps: with ps; [ ]; # missing inputs: pytautulli 821 "tcp" = ps: with ps; [ ]; 822 "ted5000" = ps: with ps; [ xmltodict ];
+2
pkgs/top-level/python-packages.nix
··· 2822 2823 hass-nabucasa = callPackage ../development/python-modules/hass-nabucasa { }; 2824 2825 hawkauthlib = callPackage ../development/python-modules/hawkauthlib { }; 2826 2827 hbmqtt = callPackage ../development/python-modules/hbmqtt { };
··· 2822 2823 hass-nabucasa = callPackage ../development/python-modules/hass-nabucasa { }; 2824 2825 + hatasmota = callPackage ../development/python-modules/hatasmota { }; 2826 + 2827 hawkauthlib = callPackage ../development/python-modules/hawkauthlib { }; 2828 2829 hbmqtt = callPackage ../development/python-modules/hbmqtt { };