3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.hatasmota: init at 0.2.5

This commit is contained in:
Fabian Affolter 2021-01-16 14:28:50 +01:00
parent bcdca92787
commit c026f0992f
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, attrs
, buildPythonPackage
, fetchFromGitHub
, voluptuous
}:
buildPythonPackage rec {
pname = "hatasmota";
version = "0.2.5";
src = fetchFromGitHub {
owner = "emontnemery";
repo = pname;
rev = version;
sha256 = "1xsqrpd0dprjfaa2yrdy1g9n4xyrw6ifnzkrh3sq5fx0yfmxbzqm";
};
propagatedBuildInputs = [
attrs
voluptuous
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "hatasmota" ];
meta = with lib; {
description = "Python module to help parse and construct Tasmota MQTT messages";
homepage = "https://github.com/emontnemery/hatasmota";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -2818,6 +2818,8 @@ in {
hass-nabucasa = callPackage ../development/python-modules/hass-nabucasa { };
hatasmota = callPackage ../development/python-modules/hatasmota { };
hawkauthlib = callPackage ../development/python-modules/hawkauthlib { };
hbmqtt = callPackage ../development/python-modules/hbmqtt { };