Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 aiohttp, 6}: 7 8buildPythonPackage rec { 9 pname = "smarthab"; 10 version = "0.21"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 pname = "SmartHab"; 15 inherit version; 16 sha256 = "bf929455a2f7cc1e275b331de73d983587138a8d9179574988ba05fa152d3ccf"; 17 }; 18 19 propagatedBuildInputs = [ aiohttp ]; 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}