at 23.05-pre 797 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchPypi 5, pytest-asyncio 6, pytest-cov 7, pytest-httpserver 8, pytestCheckHook 9, setuptools-scm 10, voluptuous 11}: 12 13buildPythonPackage rec { 14 pname = "solax"; 15 version = "0.3.0"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "sha256-lqzFY2Rfmc/9KUuFfq07DZkIIS2cJ1JqZ/8gP3+pu5U="; 20 }; 21 22 nativeBuildInputs = [ setuptools-scm ]; 23 24 propagatedBuildInputs = [ aiohttp voluptuous ]; 25 26 checkInputs = [ 27 pytest-asyncio 28 pytest-cov 29 pytest-httpserver 30 pytestCheckHook 31 ]; 32 33 pythonImportsCheck = [ "solax" ]; 34 35 meta = with lib; { 36 description = "Python wrapper for the Solax Inverter API"; 37 homepage = "https://github.com/squishykid/solax"; 38 license = with licenses; [ mit ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}