Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109527 from fabaff/hatasmota
python3Packages.hatasmota: init at 0.2.5
- Loading branch information
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters