1{ 2 lib, 3 aiohttp, 4 attrs, 5 buildPythonPackage, 6 fetchFromGitHub, 7 pythonOlder, 8 setuptools, 9 voluptuous, 10}: 11 12buildPythonPackage rec { 13 pname = "hatasmota"; 14 version = "0.10.1"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.13"; 18 19 src = fetchFromGitHub { 20 owner = "emontnemery"; 21 repo = "hatasmota"; 22 tag = version; 23 hash = "sha256-Be6W7+DMpMXezEQDkEN9+ei7cJXP1bGIURuXlMNyR0Y="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 aiohttp 30 attrs 31 voluptuous 32 ]; 33 34 # Project has no tests 35 doCheck = false; 36 37 pythonImportsCheck = [ "hatasmota" ]; 38 39 meta = with lib; { 40 description = "Python module to help parse and construct Tasmota MQTT messages"; 41 homepage = "https://github.com/emontnemery/hatasmota"; 42 changelog = "https://github.com/emontnemery/hatasmota/releases/tag/${src.tag}"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}