1{ lib 2, buildPythonPackage 3, fetchPypi 4, aiohttp 5}: 6 7buildPythonPackage rec { 8 pname = "smarthab"; 9 version = "0.21"; 10 11 src = fetchPypi { 12 pname = "SmartHab"; 13 inherit version; 14 sha256 = "bf929455a2f7cc1e275b331de73d983587138a8d9179574988ba05fa152d3ccf"; 15 }; 16 17 propagatedBuildInputs = [ 18 aiohttp 19 ]; 20 21 # no tests on PyPI, no tags on GitLab 22 doCheck = false; 23 24 pythonImportsCheck = [ "pysmarthab" ]; 25 26 meta = with lib; { 27 description = "Control devices in a SmartHab-powered home"; 28 homepage = "https://gitlab.com/outadoc/python-smarthab"; 29 license = licenses.gpl3Plus; 30 maintainers = with maintainers; [ dotlambda ]; 31 }; 32}